org.kuali.rice.kim.client.acegi
Class KualiCasAuthoritiesPopulatorImpl
java.lang.Object
org.kuali.rice.kim.client.acegi.KualiCasAuthoritiesPopulatorImpl
- All Implemented Interfaces:
- org.acegisecurity.providers.cas.CasAuthoritiesPopulator, KualiCasAuthoritiesPopulator
public class KualiCasAuthoritiesPopulatorImpl
- extends Object
- implements KualiCasAuthoritiesPopulator
Populates the UserDetails
associated with a CAS
authenticated user by reading the response. This is required to pass
the Distributed Session Ticket around.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
userDetailsService
private KualiUserDetailsService userDetailsService
logger
private static final org.apache.commons.logging.Log logger
KualiCasAuthoritiesPopulatorImpl
public KualiCasAuthoritiesPopulatorImpl()
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- This method validates the Spring configuration
- Throws:
Exception
setUserDetailsService
public void setUserDetailsService(org.acegisecurity.userdetails.UserDetailsService userDetailsService)
- Parameters:
userDetailsService
- the UserDetailsService to set
getUserDetails
public org.acegisecurity.userdetails.UserDetails getUserDetails(String casUserId)
throws org.acegisecurity.AuthenticationException
- This overridden method should never be used but is required by the
UserDetails interface
- Specified by:
getUserDetails
in interface org.acegisecurity.providers.cas.CasAuthoritiesPopulator
- Throws:
org.acegisecurity.AuthenticationException
- See Also:
CasAuthoritiesPopulator.getUserDetails(java.lang.String)
getUserDetails
public org.acegisecurity.userdetails.UserDetails getUserDetails(KualiTicketResponse response)
throws org.acegisecurity.AuthenticationException
- This overridden method is used to pass the Distributed Session
Ticket around via the
KualiTicketResponse
- Specified by:
getUserDetails
in interface KualiCasAuthoritiesPopulator
- Returns:
- the details of the indicated user (at minimum the granted authorities and the username)
- Throws:
org.acegisecurity.AuthenticationException
- DOCUMENT ME!- See Also:
KualiCasAuthoritiesPopulator.getUserDetails(org.kuali.rice.kim.client.acegi.KualiTicketResponse)
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.