|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
@Retention(value=RUNTIME)
@Target(value={java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.METHOD})
public interface RolesAllowedSpecifies the list of roles permitted to access method(s) in an application. The value of the RolesAllowed annotation is a list of security role names. This annotation can be specified on a class or on method(s). Specifying it at a class level means that it applies to all the methods in the class. Specifying it on a method means that it is applicable to that method only. If applied at both the class and methods level , the method value overrides the class value if the two conflict. Copyright (c) 2005 by BEA Systems. All Rights Reserved.
| Method Summary | |
|---|---|
SecurityRole[] |
value()
The security-role element contains the definition of a security role |
| Methods inherited from interface java.lang.annotation.Annotation |
|---|
annotationType, equals, hashCode, toString |
| Method Detail |
|---|
SecurityRole[] value()
|
Because this information documents a Tech Preview of a BEA product, it may be incomplete and is subject to change. Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/essex/TechPreview Copyright 2007 BEA Systems Inc. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||