public interface SAMLUserDetailsService
| Modifier and Type | Method and Description |
|---|---|
Object |
loadUserBySAML(SAMLCredential credential)
The method is supposed to identify local account of user referenced by data in the SAML assertion
and return UserDetails object describing the user.
|
Object loadUserBySAML(SAMLCredential credential) throws org.springframework.security.core.userdetails.UsernameNotFoundException
Returned object should correctly implement the getAuthorities method as it will be used to populate entitlements inside the Authentication object.
credential - data populated from SAML message used to validate the usernull)org.springframework.security.core.userdetails.UsernameNotFoundException - if the user details object can't be populated