org.springframework.security.ui.preauth
Class PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails
java.lang.Object
org.springframework.security.ui.WebAuthenticationDetails
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
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails
public PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails(HttpServletRequest request)
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
Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.