@groovy.util.logging.Slf4j @groovy.transform.CompileStatic class BearerTokenAuthenticationFailureHandler extends java.lang.Object implements AuthenticationFailureHandler
Handles authentication failure when BearerToken authentication is enabled.
| Type | Name and description |
|---|---|
BearerTokenReader |
tokenReader |
| Constructor and description |
|---|
BearerTokenAuthenticationFailureHandler() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
onAuthenticationFailure(HttpServletRequest request, HttpServletResponse response, AuthenticationException e)Sends the proper response code and headers, as defined by RFC6750. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Sends the proper response code and headers, as defined by RFC6750.
Groovy Documentation