Class BearerTokenAuthenticationEntryPoint

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void commence​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthenticationException authException)
      Collect error details from the provided parameters and format according to RFC 6750, specifically error, error_description, error_uri, and scope.
      void setRealmName​(java.lang.String realmName)
      Set the default realm name to use in the bearer token error response
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BearerTokenAuthenticationEntryPoint

        public BearerTokenAuthenticationEntryPoint()
    • Method Detail

      • commence

        public void commence​(javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response,
                             AuthenticationException authException)
        Collect error details from the provided parameters and format according to RFC 6750, specifically error, error_description, error_uri, and scope.
        Specified by:
        commence in interface AuthenticationEntryPoint
        Parameters:
        request - that resulted in an AuthenticationException
        response - so that the user agent can begin authentication
        authException - that caused the invocation
      • setRealmName

        public void setRealmName​(java.lang.String realmName)
        Set the default realm name to use in the bearer token error response
        Parameters:
        realmName -