@groovy.util.logging.Slf4j class BearerTokenAuthenticationFailureHandler
Handles authentication failure when BearerToken authentication is enabled.
Type | Name and description |
---|---|
BearerTokenReader |
tokenReader |
Constructor and description |
---|
BearerTokenAuthenticationFailureHandler
() |
Type | Name and description |
---|---|
void |
onAuthenticationFailure(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.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#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Sends the proper response code and headers, as defined by RFC6750.
Groovy Documentation