javax.annotation.security
Annotation Type RolesAllowed


@Documented
@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
public @interface RolesAllowed

List of roles allowed to invoke a given method or all methods of a given class.

Since:
EJB 3.0 version.
Author:
Florent Benoit
See Also:
EJB 3.0 specification

Required Element Summary
 java.lang.String[] value
          Gets array of roles.
 

Element Detail

value

public abstract java.lang.String[] value
Gets array of roles.



Copyright © 2008. All Rights Reserved.