Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public final class SecurityContextHolderFilter
- Object
- SecurityContextHolderFilter
ImplementsSecurityFilter
Loads who is signed in from the chain’s SecurityContextRepository into
SecurityContextHolder before anything else looks. First in every chain.
It only loads. A filter that signs a user in saves the context itself, and the server clears the holder when the request ends.
Methods
public HttpServer.Response doFilter(HttpServer.Request request, FilterChain chain)
throws Exception | The answer to request; null when nothing under the chain routes it, which the server answers 404. |
Inherited methods
Method details
doFilter
public HttpServer.Response doFilter(HttpServer.Request request, FilterChain chain)
throws ExceptionThe answer to
request; null when nothing under the chain routes it,
which the server answers 404.