public class DaoCasAuthoritiesPopulator extends Object implements CasAuthoritiesPopulator, org.springframework.beans.factory.InitializingBean
UserDetailsService.The additional information (username,
password, enabled status etc) an AuthenticationDao implementation provides about a User
is ignored. Only the GrantedAuthoritys are relevant to this class.
| Constructor and Description |
|---|
DaoCasAuthoritiesPopulator() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
UserDetails |
getUserDetails(String casUserId)
Obtains the granted authorities for the specified user.
|
UserDetailsService |
getUserDetailsService() |
void |
setUserDetailsService(UserDetailsService userDetailsService) |
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic UserDetails getUserDetails(String casUserId) throws AuthenticationException
CasAuthoritiesPopulatorMay throw any
AuthenticationException or return null if the authorities are unavailable.
getUserDetails in interface CasAuthoritiesPopulatorcasUserId - as obtained from the CAS validation serviceAuthenticationException - DOCUMENT ME!public UserDetailsService getUserDetailsService()
public void setUserDetailsService(UserDetailsService userDetailsService)
Copyright © 2016. All rights reserved.