Spring Security Framework

org.springframework.security.ui.preauth
Class PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails

java.lang.Object
  extended by org.springframework.security.ui.WebAuthenticationDetails
      extended by org.springframework.security.ui.preauth.PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails
All Implemented Interfaces:
Serializable, SessionIdentifierAware, GrantedAuthoritiesContainer, MutableGrantedAuthoritiesContainer

public class PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails
extends WebAuthenticationDetails
implements MutableGrantedAuthoritiesContainer

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

Since:
2.0
Author:
Ruud Senden, Luke Taylor
See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Constructor Summary
PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails(HttpServletRequest request)
           
 
Method Summary
 GrantedAuthority[] getGrantedAuthorities()
           
 void setGrantedAuthorities(GrantedAuthority[] authorities)
          Used to store authorities in the containing object.
 String toString()
           
 
Methods inherited from class org.springframework.security.ui.WebAuthenticationDetails
doPopulateAdditionalInformation, equals, getRemoteAddress, getSessionId, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

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

PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails

public PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails(HttpServletRequest request)
Method Detail

getGrantedAuthorities

public GrantedAuthority[] getGrantedAuthorities()
Specified by:
getGrantedAuthorities in interface GrantedAuthoritiesContainer

setGrantedAuthorities

public void setGrantedAuthorities(GrantedAuthority[] authorities)
Description copied from interface: MutableGrantedAuthoritiesContainer
Used to store authorities in the containing object.

Specified by:
setGrantedAuthorities in interface MutableGrantedAuthoritiesContainer

toString

public String toString()
Overrides:
toString in class WebAuthenticationDetails

Spring Security Framework

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