javax.annotation.security |
|
Java Source File Name | Type | Comment |
DeclareRoles.java | Annotation | The Bean Provider is responsible for using the RolesReferenced metadata
annotation or the security-role-ref elements of the deployment descriptor to
declare all the security role names used in the enterprise bean code. |
DenyAll.java | Annotation | The DenyAll annotation specifies that no security roles are permitted to
execute the specified method(s). |
PermitAll.java | Annotation | The PermitAll annotation specifies that all security roles are permitted to
execute the specified method(s). |
RolesAllowed.java | Annotation | The value of the RolesAllowed annotation is a list of security role names to
be mapped to the security roles that are permitted to execute the specified
method(s). |
RunAs.java | Annotation | The Bean Provider can use the RunAs metadata annotation or the Bean Provider
or Application Assembler can use the run-as deployment descriptor element to
define a run-as identity for an enterprise bean in the deployment descriptor.
The run-as identity applies to the enterprise bean as a whole, that is, to
all methods of the enterprise bean’s business, home, component, web service
endpoint interfaces, to the message listener methods of a message-driven
bean, and to the timeout callback method of an enterprise bean, and all
internal methods of the bean that they might in turn call. |