Package org.bpsbits.kt.rest.annotations
Annotation ExclusiveAccess
-
- All Implemented Interfaces:
@Target(allowedTargets = {AnnotationTarget.FUNCTION}) public @interface ExclusiveAccess
Marks resource to be accessible only for authorized clients. Simplifies usage of RBAC-A or other patterns for controlling access to resources.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringmessageForbiddenprivate final StringmessageUnauthorizedprivate final KClass<out IdentityInspector>identityInspectorprivate final KClass<out GateKeeper>gatekeeperprivate final Array<String>tags
-