Interface SecurityContextRepository
- All Known Implementing Classes:
HttpSessionSecurityContextRepository, NullSecurityContextRepository
public interface SecurityContextRepository
Where a chain keeps who is signed in between one request and the next.
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsContext(HttpServer.Request request) Whether anything is stored forrequest's client.loadContext(HttpServer.Request request) The context stored forrequest's client; an empty one when there is none.voidsaveContext(SecurityContext context, HttpServer.Request request) Storescontextfor the client's later requests.
-
Method Details
-
loadContext
The context stored forrequest's client; an empty one when there is none. -
saveContext
Storescontextfor the client's later requests. An empty context, or an anonymous one, removes what was stored. -
containsContext
Whether anything is stored forrequest's client.
-