|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) public @interface SecurityRoles
Defines the roles that are allowed to access the operations on the service. Roles may be applied at either the service (class) level or at the level of an individual method. The hosting container is responsible for ensuring that the security settings of the service are honored.
Optional Element Summary | |
---|---|
String[] |
rolesAllowed
Specifies a list of roles permitted to access the Web Service. |
String[] |
rolesReferenced
Specifies a list of roles referenced by the Web Service. |
public abstract String[] rolesAllowed
public abstract String[] rolesReferenced
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |