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, org.springframework.security.core.authority.GrantedAuthoritiesContainer
public class PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails
- extends WebAuthenticationDetails
- implements org.springframework.security.core.authority.GrantedAuthoritiesContainer
This WebAuthenticationDetails implementation allows for storing a list of
pre-authenticated Granted Authorities.
- Since:
- 2.0
- Author:
- Ruud Senden, Luke Taylor
- See Also:
- Serialized Form
PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails
public PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails(javax.servlet.http.HttpServletRequest request,
Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
getGrantedAuthorities
public List<org.springframework.security.core.GrantedAuthority> getGrantedAuthorities()
- Specified by:
getGrantedAuthorities in interface org.springframework.security.core.authority.GrantedAuthoritiesContainer
toString
public String toString()
- Overrides:
toString in class WebAuthenticationDetails