jakarta.annotation.security.DeclareRoles
E836364
jakarta.annotation.security.DeclareRoles is a Jakarta EE security annotation used to declare application security roles that can be referenced for access control in components such as servlets and EJBs.
All labels observed (1)
| Label | Occurrences |
|---|---|
| jakarta.annotation.security.DeclareRoles canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T10019908 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: jakarta.annotation.security.DeclareRoles Context triple: [Jakarta Annotations, containsAnnotation, jakarta.annotation.security.DeclareRoles]
-
A.
Jakarta Annotations
Jakarta Annotations is a Jakarta EE specification that defines a set of standard Java annotations used to simplify configuration and behavior in enterprise applications.
-
B.
Jakarta Bean Validation
Jakarta Bean Validation is a Jakarta EE specification that defines a standard, annotation-based way to declare and enforce constraints on Java object models, typically used for validating user input and application data.
-
C.
Jakarta EE MVC frameworks
Jakarta EE MVC frameworks are server-side web application frameworks for the Jakarta EE platform that implement the Model-View-Controller pattern to separate business logic from presentation.
-
D.
Jakarta Enterprise Beans
Jakarta Enterprise Beans is a Jakarta EE server-side component architecture that simplifies the development of transactional, secure, and scalable business logic in Java enterprise applications.
-
E.
Jakarta EE Working Group
The Jakarta EE Working Group is an industry consortium under the Eclipse Foundation that oversees the evolution, standardization, and governance of the Jakarta Enterprise Edition (Jakarta EE) platform and its related specifications.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: jakarta.annotation.security.DeclareRoles Target entity description: jakarta.annotation.security.DeclareRoles is a Jakarta EE security annotation used to declare application security roles that can be referenced for access control in components such as servlets and EJBs.
-
A.
Jakarta Annotations
Jakarta Annotations is a Jakarta EE specification that defines a set of standard Java annotations used to simplify configuration and behavior in enterprise applications.
-
B.
Jakarta Bean Validation
Jakarta Bean Validation is a Jakarta EE specification that defines a standard, annotation-based way to declare and enforce constraints on Java object models, typically used for validating user input and application data.
-
C.
Jakarta EE MVC frameworks
Jakarta EE MVC frameworks are server-side web application frameworks for the Jakarta EE platform that implement the Model-View-Controller pattern to separate business logic from presentation.
-
D.
Jakarta Enterprise Beans
Jakarta Enterprise Beans is a Jakarta EE server-side component architecture that simplifies the development of transactional, secure, and scalable business logic in Java enterprise applications.
-
E.
Jakarta EE Working Group
The Jakarta EE Working Group is an industry consortium under the Eclipse Foundation that oversees the evolution, standardization, and governance of the Jakarta Enterprise Edition (Jakarta EE) platform and its related specifications.
- F. None of above. chosen
Statements (30)
| Predicate | Object |
|---|---|
| instanceOf |
Jakarta EE security annotation
ⓘ
Java annotation type ⓘ |
| belongsToSpecification | Jakarta Security model for role declarations ⓘ |
| canBeAppliedTo |
EJB classes
NERFINISHED
ⓘ
managed beans ⓘ servlet classes ⓘ |
| category | security ⓘ |
| defines | security roles available to the application ⓘ |
| elementType | TYPE ⓘ |
| enables | container-managed role checking ⓘ |
| introducedAs | successor of javax.annotation.security.DeclareRoles in Jakarta namespace ⓘ |
| namespaceChangeFrom | javax.annotation.security.DeclareRoles ⓘ |
| package | jakarta.annotation.security NERFINISHED ⓘ |
| partOf | Jakarta Annotations API NERFINISHED ⓘ |
| purpose |
Declare application security roles
ⓘ
Enable role-based access control ⓘ |
| referencedBy |
@DenyAll
ⓘ
@PermitAll ⓘ @RolesAllowed ⓘ |
| requires | support from Jakarta EE container ⓘ |
| retentionPolicy | RUNTIME ⓘ |
| roleScope | application level ⓘ |
| since | Jakarta EE 9 namespace transition NERFINISHED ⓘ |
| targetPlatform | server-side components ⓘ |
| usedBy | application developers ⓘ |
| usedFor | declarative security configuration ⓘ |
| usedIn |
Jakarta EE
NERFINISHED
ⓘ
Jakarta Enterprise Beans (EJB) NERFINISHED ⓘ Jakarta Servlet NERFINISHED ⓘ |
| valueElementType | String array of role names ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: jakarta.annotation.security.DeclareRoles Description of subject: jakarta.annotation.security.DeclareRoles is a Jakarta EE security annotation used to declare application security roles that can be referenced for access control in components such as servlets and EJBs.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.