Package dev.dokimos.server.filter


package dev.dokimos.server.filter
  • Class
    Description
    Authenticator backed by two credential sources that coexist for backward compatibility: the single legacy key configured via DOKIMOS_API_KEY (which maps to Role.ADMIN), and the scoped keys stored in api_keys (each hashed, each carrying its own role and tenant).
    Servlet filter that authenticates /api/v1/** by delegating credential resolution to an Authenticator, then enforces role-based authorization on the resolved Principal.
    Hashes raw API keys to the SHA-256 hex form stored in the database.
    Strategy that resolves the Principal behind an incoming request from its credential.
    Authenticated caller.
    Role granted to an authenticated Principal.