Class DefaultAuthenticationDetailsSource

  • All Implemented Interfaces:
    org.springframework.security.authentication.AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,​org.springframework.security.web.authentication.WebAuthenticationDetails>

    public class DefaultAuthenticationDetailsSource
    extends org.springframework.security.web.authentication.WebAuthenticationDetailsSource
    Extension of WebAuthenticationDetailsSource that always returns instances of PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails
    Since:
    3.1.5
    Author:
    joseross
    • Constructor Detail

      • DefaultAuthenticationDetailsSource

        public DefaultAuthenticationDetailsSource()
    • Method Detail

      • buildDetails

        public org.springframework.security.web.authentication.WebAuthenticationDetails buildDetails​(javax.servlet.http.HttpServletRequest context)
        Specified by:
        buildDetails in interface org.springframework.security.authentication.AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,​org.springframework.security.web.authentication.WebAuthenticationDetails>
        Overrides:
        buildDetails in class org.springframework.security.web.authentication.WebAuthenticationDetailsSource