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:
- 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
PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails
public PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails(javax.servlet.http.HttpServletRequest request,
Collection<? extends GrantedAuthority> authorities)
getGrantedAuthorities
public List<GrantedAuthority> getGrantedAuthorities()
- Specified by:
getGrantedAuthorities
in interface GrantedAuthoritiesContainer
toString
public String toString()
- Overrides:
toString
in class WebAuthenticationDetails