org.kuali.rice.kim.client.acegi
Interface KualiCasAuthoritiesPopulator

All Superinterfaces:
org.acegisecurity.providers.cas.CasAuthoritiesPopulator
All Known Implementing Classes:
KualiCasAuthoritiesPopulatorImpl

public interface KualiCasAuthoritiesPopulator
extends org.acegisecurity.providers.cas.CasAuthoritiesPopulator

Populates the UserDetails associated with a CAS authenticated CAS ticket response.

Kuali authentication expects a formated response from CAS that includes The username and the authentication method (as an attribute). At this time The authentication method is stored as a GrantedAuthority

Implementations should not perform any caching. They will only be called when a refresh is required.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Method Summary
 org.acegisecurity.userdetails.UserDetails getUserDetails(KualiTicketResponse response)
          Obtains the granted authorities for the specified user.
 
Methods inherited from interface org.acegisecurity.providers.cas.CasAuthoritiesPopulator
getUserDetails
 

Method Detail

getUserDetails

org.acegisecurity.userdetails.UserDetails getUserDetails(KualiTicketResponse response)
                                                         throws org.acegisecurity.AuthenticationException
Obtains the granted authorities for the specified user.

May throw any AuthenticationException or return null if the authorities are unavailable.

Parameters:
casUserId - as obtained from the CAS validation service
Returns:
the details of the indicated user (at minimum the granted authorities and the username)
Throws:
org.acegisecurity.AuthenticationException - DOCUMENT ME!


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.