|
Oracle | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value={java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.METHOD}) public @interface RolesAllowed
Specifies 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.
Required Element Summary | |
---|---|
SecurityRole[] |
value
The security-role element contains the definition of a security role |
Element Detail |
---|
public abstract SecurityRole[] value
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs103 Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |