Package io.micronaut.security.annotation
package io.micronaut.security.annotation
Annotations for Security.
- Since:
- 1.0
- Author:
- Graeme Rocher
-
ClassDescriptionAn annotation for use with Micronaut Data entities that will cause the annotated field to be automatically populated on save with the identity of the currently authenticated user.Allows using the
DenyAllannotation in Micronaut.Allows using thePermitAllannotation in Micronaut.Allows using theRolesAllowedannotation in Micronaut.Used to mark a route as requiring authorization before execution.An annotation for use with Micronaut Data entities that will cause the annotated field to be automatically populated on both save and update with the identity of the currently authenticated user.