Package jakarta.annotation.security
This package contains the security common annotations.
-
Annotation Types Summary Annotation Type Description DeclareRoles Used by application to declare security roles.DenyAll Specifies that no security roles are allowed to invoke the specified method(s).PermitAll Specifies that all security roles are allowed to invoke the specified method(s) — i.e., that the specified method(s) are "unchecked".RolesAllowed Specifies the list of security roles permitted to access method(s) in an application.RunAs Defines the identity of the application during execution.