# Package jakarta.annotation.security

package jakarta.annotation.security

- Related Packages
  Package
  Description
  jakarta.annotation
  jakarta.annotation.sql
- Annotation Types
  Class
  Description
  DeclareRoles
  Declares that role names used in security constraints for the annotated enterprise bean should be treated as declared roles.
  DenyAll
  Indicates that all access to the annotated enterprise bean or business method is denied.
  PermitAll
  Indicates that all authenticated users are permitted to access the annotated enterprise bean or business method.
  RolesAllowed
  Specifies the security roles that are allowed to access the annotated enterprise bean or business method.
  RunAs
  Defines the run-as security role for an enterprise bean.