Package com.vertyll.freshly.security
@NullMarked
package com.vertyll.freshly.security
-
ClassDescriptionThe one place a Spring Security
Authenticationbecomes role names.Lets a controller take the caller's roles as aCallerRolesparameter.Which origins the browser API accepts.Reads Keycloak realm roles out of a token.Wires the permission annotations into Spring Security's method interception.Enforces@RequirePermissionand@RequireAnyPermission.Answers filter-level refusals in the same problem shape as everything else.Finds every handler annotated@PublicEndpointand turns it into a matcher.A module's addition to the one filter chain.The filter chain.The platform's security contribution, imported once bybootstrap.Registers the argument resolvers this platform contributes to Spring MVC.