jakarta.annotation.security.RolesAllowed

E836363

jakarta.annotation.security.RolesAllowed is a Jakarta EE security annotation used to specify which user roles are permitted to access a given class or method.

All labels observed (1)

Label Occurrences
jakarta.annotation.security.RolesAllowed canonical 1

How this entity was disambiguated

Statements (35)

Predicate Object
instanceOf Jakarta EE API element ⓘ
Java annotation type ⓘ
security annotation ⓘ
appliesTo classes ⓘ
methods ⓘ
canBeAppliedOn CDI managed bean methods ⓘ
Jakarta RESTful Web Services resource methods ⓘ
enterprise bean business methods ⓘ
category role-based access control ⓘ
controls access to annotated class ⓘ
access to annotated method ⓘ
definedIn Jakarta Annotations specification ⓘ
linked to: Jakarta Annotations
effectOnClassLevel applies to all methods of the class unless overridden ⓘ
effectOnMethodLevel overrides class-level security for that method ⓘ
evaluatedBy container security subsystem ⓘ
introducedBy Jakarta EE 9 namespace change ⓘ
language Java ⓘ
namespace jakarta.annotation.security ⓘ
parameterName value ⓘ
parameterType array of java.lang.String ⓘ
partOfPackage jakarta.annotation.security ⓘ
purpose to specify which security roles are allowed to access a component ⓘ
relatedTo jakarta.annotation.security.DeclareRoles ⓘ
jakarta.annotation.security.DenyAll ⓘ
jakarta.annotation.security.PermitAll ⓘ
replaces javax.annotation.security.RolesAllowed ⓘ
requires security context with role information ⓘ
semantics access is allowed only if caller has at least one of the specified roles ⓘ
targetElement METHOD ⓘ
TYPE ⓘ
usedBy application developers to declare allowed roles ⓘ
usedFor declarative security ⓘ
usedIn Jakarta EE ⓘ
enterprise Java applications ⓘ
visibility runtime ⓘ

How these facts were elicited

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

Jakarta Annotations → containsAnnotation → jakarta.annotation.security.RolesAllowed ⓘ