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 Details

    • loadContext

      SecurityContext loadContext(HttpServer.Request request)
      The context stored for request's client; an empty one when there is none.
    • saveContext

      void saveContext(SecurityContext context, HttpServer.Request request)
      Stores context for the client's later requests. An empty context, or an anonymous one, removes what was stored.
    • containsContext

      boolean containsContext(HttpServer.Request request)
      Whether anything is stored for request's client.