@Slf4j @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) |
| Methods inherited from class | Name |
|---|---|
class GenericFilterBean |
afterPropertiesSet, destroy, doFilter, equals, getClass, getEnvironment, getFilterConfig, hashCode, init, notify, notifyAll, setBeanName, setEnvironment, setServletContext, toString, wait, wait, wait |