@groovy.util.logging.Slf4j @groovy.transform.CompileStatic class RestLogoutFilter extends GenericFilterBean
Filter exposing an endpoint for deleting tokens. It will read the token from an HTTP header. If found, will delete it from the storage, sending a 200 response. Otherwise, it will send a 404 response.
| Type | Name and description |
|---|---|
java.lang.String |
endpointUrl |
java.lang.String |
headerName |
SpringSecurityRestFilterRequestMatcher |
requestMatcher |
TokenReader |
tokenReader |
TokenStorageService |
tokenStorageService |
| Constructor and description |
|---|
RestLogoutFilter() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
doFilter(ServletRequest request, ServletResponse response, FilterChain chain) |