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
DenyAll
annotation in Micronaut.Allows using thePermitAll
annotation in Micronaut.Allows using theRolesAllowed
annotation 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.