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

public class PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails
extends WebAuthenticationDetails
implements GrantedAuthoritiesContainer

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

Since:
2.0
See Also:
Serialized Form

Constructor Summary
PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails(javax.servlet.http.HttpServletRequest request, Collection<? extends GrantedAuthority> authorities)
           
 
Method Summary
 List<GrantedAuthority> getGrantedAuthorities()
           
 String toString()
           
 
Methods inherited from class org.springframework.security.web.authentication.WebAuthenticationDetails
equals, getRemoteAddress, getSessionId, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails

public PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails(javax.servlet.http.HttpServletRequest request,
                                                                  Collection<? extends GrantedAuthority> authorities)
Method Detail

getGrantedAuthorities

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

toString

public String toString()
Overrides:
toString in class WebAuthenticationDetails