Class PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails

  • All Implemented Interfaces:
    java.io.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
    See Also:
    Serialized Form
    • Constructor Detail

      • PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails

        public PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails​(javax.servlet.http.HttpServletRequest request,
                                                                          java.util.Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
    • Method Detail

      • getGrantedAuthorities

        public java.util.List<org.springframework.security.core.GrantedAuthority> getGrantedAuthorities()
        Specified by:
        getGrantedAuthorities in interface org.springframework.security.core.authority.GrantedAuthoritiesContainer