org.springframework.security.web.authentication.preauth
Class PreAuthenticatedGrantedAuthoritiesAuthenticationDetails
java.lang.Object
org.springframework.security.authentication.AuthenticationDetails
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
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
PreAuthenticatedGrantedAuthoritiesAuthenticationDetails
public PreAuthenticatedGrantedAuthoritiesAuthenticationDetails(Object context)
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.