Class SecurityContextHolderFilter
java.lang.Object
com.codename1.backend.security.SecurityContextHolderFilter
- All Implemented Interfaces:
SecurityFilter
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.
-
Method Summary
Modifier and TypeMethodDescriptiondoFilter(HttpServer.Request request, FilterChain chain) The answer torequest; null when nothing under the chain routes it, which the server answers 404.
-
Method Details
-
doFilter
Description copied from interface:SecurityFilterThe answer torequest; null when nothing under the chain routes it, which the server answers 404.- Specified by:
doFilterin interfaceSecurityFilter- Throws:
Exception
-