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

Provides classes to define how client sessions are managed.
  • Interface Summary
    Interface Description
    Interface that defines how to generate and verify session id for (username, database) sessions.
  • Class Summary
    Class Description
    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.
    Session management using self-contained JWT (JSON Web Token).
    Session id generator with 26 long strings.
    Utility holder class for session info.