# 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