Class AbstractCasAssertionUserDetailsService
- java.lang.Object
-
- org.springframework.security.cas.userdetails.AbstractCasAssertionUserDetailsService
-
- All Implemented Interfaces:
org.springframework.security.core.userdetails.AuthenticationUserDetailsService<CasAssertionAuthenticationToken>
- Direct Known Subclasses:
GrantedAuthorityFromAssertionAttributesUserDetailsService
public abstract class AbstractCasAssertionUserDetailsService extends java.lang.Object implements org.springframework.security.core.userdetails.AuthenticationUserDetailsService<CasAssertionAuthenticationToken>
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.- Since:
- 3.0
-
-
Constructor Summary
Constructors Constructor Description AbstractCasAssertionUserDetailsService()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract org.springframework.security.core.userdetails.UserDetails
loadUserDetails(org.jasig.cas.client.validation.Assertion assertion)
Protected template method for construct aUserDetails
via the supplied CAS assertion.org.springframework.security.core.userdetails.UserDetails
loadUserDetails(CasAssertionAuthenticationToken token)
-
-
-
Method Detail
-
loadUserDetails
public final org.springframework.security.core.userdetails.UserDetails loadUserDetails(CasAssertionAuthenticationToken token)
- Specified by:
loadUserDetails
in interfaceorg.springframework.security.core.userdetails.AuthenticationUserDetailsService<CasAssertionAuthenticationToken>
-
loadUserDetails
protected abstract org.springframework.security.core.userdetails.UserDetails loadUserDetails(org.jasig.cas.client.validation.Assertion assertion)
Protected template method for construct aUserDetails
via the supplied CAS assertion.- Parameters:
assertion
- the assertion to use to construct the new UserDetails. CANNOT be NULL.- Returns:
- the newly constructed UserDetails.
-
-