Class AccessTokenRetrieverAuthenticationException

  • All Implemented Interfaces:
    Serializable, HttpStatusAware

    public class AccessTokenRetrieverAuthenticationException
    extends org.springframework.security.core.AuthenticationException
    implements HttpStatusAware
    The access token retriever authentication exception.
    Author:
    Christian Bremer
    See Also:
    Serialized Form
    • Constructor Detail

      • AccessTokenRetrieverAuthenticationException

        public AccessTokenRetrieverAuthenticationException​(org.springframework.http.HttpStatus httpStatus,
                                                           String body)
        Instantiates a new access token retriever authentication exception.
        Parameters:
        httpStatus - the http status
        body - the body
    • Method Detail

      • status

        public int status()
        Description copied from interface: HttpStatusAware
        Gets the HTTP status code.
        Specified by:
        status in interface HttpStatusAware
        Returns:
        the HTTP status code