Team,

While looking at CentralAuthenticationServiceImpl.java, I noticed
something strange. There are two overloaded methods for
grantServiceTicket(). 

 

-    The one that accepts 'credentials' says in its javadocs: 'throws
IllegalArgumentException if TicketGrantingTicket ID, Credentials or
Service are null.' [1]

-    The one that does not accept 'credentials' passed null instead. No
exceptions are thrown. [2]

 

I am guessing the docs are misleading. Could someone confirm plz? 

 

[1]
https://github.com/Jasig/cas/blob/master/cas-server-core/src/main/java/org
/jasig/cas/CentralAuthenticationServiceImpl.java#L181 

[2]
https://github.com/Jasig/cas/blob/master/cas-server-core/src/main/java/org
/jasig/cas/CentralAuthenticationServiceImpl.java#L274 

 

-Misagh



 


-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to