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
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
Constructors Constructor Description PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails(javax.servlet.http.HttpServletRequest request, java.util.Collection<? extends GrantedAuthority> authorities)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<GrantedAuthority>
getGrantedAuthorities()
java.lang.String
toString()
-
Methods inherited from class org.springframework.security.web.authentication.WebAuthenticationDetails
equals, getRemoteAddress, getSessionId, hashCode
-
-
-
-
Constructor Detail
-
PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails
public PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails(javax.servlet.http.HttpServletRequest request, java.util.Collection<? extends GrantedAuthority> authorities)
-
-
Method Detail
-
getGrantedAuthorities
public java.util.List<GrantedAuthority> getGrantedAuthorities()
- Specified by:
getGrantedAuthorities
in interfaceGrantedAuthoritiesContainer
-
toString
public java.lang.String toString()
- Overrides:
toString
in classWebAuthenticationDetails
-
-