DenyAll (Common Annotations 3.0 API Documentation - Apache Tomcat 11.0.25)
Description: declaration: package: jakarta.annotation.security, annotation type: DenyAll

# Annotation Interface DenyAll

@Documented @Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface DenyAll
Indicates that all access to the annotated enterprise bean or business method is denied. When applied at the class level, all security roles are prohibited from invoking any business method of the bean. When applied at the method level, the specified method is inaccessible to all roles. This annotation takes precedence over `PermitAll` and `RolesAllowed`.

Since:
  Common Annotations 1.0