|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.security.cas.userdetails.AbstractCasAssertionUserDetailsService
public abstract class AbstractCasAssertionUserDetailsService
Abstract class for using the provided CAS assertion to construct a new User object. This generally is most useful when combined with a SAML-based response from the CAS Server/client.
Constructor Summary | |
---|---|
AbstractCasAssertionUserDetailsService()
|
Method Summary | |
---|---|
protected abstract UserDetails |
loadUserDetails(org.jasig.cas.client.validation.Assertion assertion)
Protected template method for construct a UserDetails via the supplied CAS
assertion. |
UserDetails |
loadUserDetails(Authentication token)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractCasAssertionUserDetailsService()
Method Detail |
---|
public final UserDetails loadUserDetails(Authentication token) throws UsernameNotFoundException
loadUserDetails
in interface AuthenticationUserDetailsService
token
- The pre-authenticated authentication token
UsernameNotFoundException
- if no user details can be found for the given authentication
tokenprotected abstract UserDetails loadUserDetails(org.jasig.cas.client.validation.Assertion assertion)
UserDetails
via the supplied CAS
assertion.
assertion
- the assertion to use to construct the new UserDetails. CANNOT be NULL.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |