Package org.kawanfw.sql.api.server.session

Provides classes to define how client sessions are managed.
  • Interface Summary
    Interface Description
    SessionConfigurator
    Interface that defines how to generate and verify session id for (username, database) sessions.
  • Class Summary
    Class Description
    DefaultSessionConfigurator
    Default implementation of session management: Session id are generated using a SecureRandom with the SessionIdentifierGenerator class. Session info (username, database) and session date/time creation are stored in a HashMap whose key is the session id. Session id is sent by client side at each API call.
    JwtSessionConfigurator
    Session management using self-contained JWT (JSON Web Token).
    SessionIdentifierGenerator
    Session id generator with 26 long strings.
    SessionInfo
    Utility holder class for session info.