Class WebAuthenticationDetailsSource

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

    public class WebAuthenticationDetailsSource
    extends java.lang.Object
    implements org.springframework.security.authentication.AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,​WebAuthenticationDetails>
    Implementation of AuthenticationDetailsSource which builds the details object from an HttpServletRequest object, creating a WebAuthenticationDetails .
    • Constructor Detail

      • WebAuthenticationDetailsSource

        public WebAuthenticationDetailsSource()
    • Method Detail

      • buildDetails

        public WebAuthenticationDetails buildDetails​(javax.servlet.http.HttpServletRequest context)
        Specified by:
        buildDetails in interface org.springframework.security.authentication.AuthenticationDetailsSource<javax.servlet.http.HttpServletRequest,​WebAuthenticationDetails>
        Parameters:
        context - the HttpServletRequest object.
        Returns:
        the WebAuthenticationDetails containing information about the current request