Class PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails
java.lang.Object
org.springframework.security.web.authentication.WebAuthenticationDetails
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:
-
Constructor Summary
ConstructorDescriptionPreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails
(jakarta.servlet.http.HttpServletRequest request, Collection<? extends GrantedAuthority> authorities) -
Method Summary
Methods inherited from class org.springframework.security.web.authentication.WebAuthenticationDetails
equals, getRemoteAddress, getSessionId, hashCode
-
Constructor Details
-
PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails
public PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails(jakarta.servlet.http.HttpServletRequest request, Collection<? extends GrantedAuthority> authorities)
-
-
Method Details
-
getGrantedAuthorities
- Specified by:
getGrantedAuthorities
in interfaceGrantedAuthoritiesContainer
-
toString
- Overrides:
toString
in classWebAuthenticationDetails
-