Package dev.dokimos.server.filter
package dev.dokimos.server.filter
-
ClassDescription
Authenticatorbacked by two credential sources that coexist for backward compatibility: the single legacy key configured viaDOKIMOS_API_KEY(which maps toRole.ADMIN), and the scoped keys stored inapi_keys(each hashed, each carrying its own role and tenant).Servlet filter that authenticates/api/v1/**by delegating credential resolution to anAuthenticator, then enforces role-based authorization on the resolvedPrincipal.Hashes raw API keys to the SHA-256 hex form stored in the database.Strategy that resolves thePrincipalbehind an incoming request from its credential.Authenticated caller.Role granted to an authenticatedPrincipal.