javax.annotation.security
Annotation Type RolesReferenced


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface RolesReferenced

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. The values must be the security role name that is used as a parameter to the isCallerInRole(String roleName) method.

Version:
$Revision: 1.1.2.5 $
Author:
Bill Burke

Required Element Summary
 java.lang.String[] value
           
 

Element Detail

value

public abstract java.lang.String[] value