org.springframework.security.web.authentication.preauth
Class PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails
java.lang.Object
org.springframework.security.web.authentication.WebAuthenticationDetails
org.springframework.security.web.authentication.preauth.PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails
- All Implemented Interfaces:
- java.io.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
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails
public PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails(javax.servlet.http.HttpServletRequest request)
getGrantedAuthorities
public java.util.List<GrantedAuthority> getGrantedAuthorities()
- Specified by:
getGrantedAuthorities
in interface GrantedAuthoritiesContainer
setGrantedAuthorities
public void setGrantedAuthorities(java.util.List<GrantedAuthority> authorities)
- Description copied from interface:
MutableGrantedAuthoritiesContainer
- Used to store authorities in the containing object.
- Specified by:
setGrantedAuthorities
in interface MutableGrantedAuthoritiesContainer
toString
public java.lang.String toString()
- Overrides:
toString
in class WebAuthenticationDetails