org.springframework.security.web.authentication.preauth
Class PreAuthenticatedGrantedAuthoritiesAuthenticationDetails

java.lang.Object
  extended by org.springframework.security.authentication.AuthenticationDetails
      extended by org.springframework.security.web.authentication.preauth.PreAuthenticatedGrantedAuthoritiesAuthenticationDetails
All Implemented Interfaces:
Serializable, GrantedAuthoritiesContainer, MutableGrantedAuthoritiesContainer

public class PreAuthenticatedGrantedAuthoritiesAuthenticationDetails
extends AuthenticationDetails
implements MutableGrantedAuthoritiesContainer

This AuthenticationDetails implementation allows for storing a list of pre-authenticated Granted Authorities.

Since:
2.0
Author:
Ruud Senden
See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Constructor Summary
PreAuthenticatedGrantedAuthoritiesAuthenticationDetails(Object context)
           
 
Method Summary
 List<GrantedAuthority> getGrantedAuthorities()
           
 void setGrantedAuthorities(List<GrantedAuthority> aJ2eeBasedGrantedAuthorities)
          Used to store authorities in the containing object.
 String toString()
           
 
Methods inherited from class org.springframework.security.authentication.AuthenticationDetails
doPopulateAdditionalInformation, equals, getContext
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

PreAuthenticatedGrantedAuthoritiesAuthenticationDetails

public PreAuthenticatedGrantedAuthoritiesAuthenticationDetails(Object context)
Method Detail

toString

public String toString()
Overrides:
toString in class AuthenticationDetails
Returns:
The String representation of this object.

getGrantedAuthorities

public List<GrantedAuthority> getGrantedAuthorities()
Specified by:
getGrantedAuthorities in interface GrantedAuthoritiesContainer
See Also:
GrantedAuthoritiesContainer.getGrantedAuthorities()

setGrantedAuthorities

public void setGrantedAuthorities(List<GrantedAuthority> aJ2eeBasedGrantedAuthorities)
Description copied from interface: MutableGrantedAuthoritiesContainer
Used to store authorities in the containing object.

Specified by:
setGrantedAuthorities in interface MutableGrantedAuthoritiesContainer
See Also:
org.springframework.security.core.authority.MutableGrantedAuthoritiesContainer#setGrantedAuthorities()


Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.