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

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

public class PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails
extends WebAuthenticationDetails
implements MutableGrantedAuthoritiesContainer

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

Since:
2.0
See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Constructor Summary
PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails(javax.servlet.http.HttpServletRequest request)
           
 
Method Summary
 List<GrantedAuthority> getGrantedAuthorities()
           
 void setGrantedAuthorities(List<GrantedAuthority> authorities)
          Used to store authorities in the containing object.
 String toString()
           
 
Methods inherited from class org.springframework.security.web.authentication.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(javax.servlet.http.HttpServletRequest request)
Method Detail

getGrantedAuthorities

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

setGrantedAuthorities

public void setGrantedAuthorities(List<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