@Retention(value=RUNTIME) @Target(value=java.lang.annotation.ElementType.TYPE) public @interface SecurityIdentity
Defines the identity the Web Service assumes during execution. Normally a Web Service assumes the identity of the authenticated caller. This annotation allows the developer to override this behavior so that the Web Service instead executes as a particular role. The role must map to user/group information in the container's security realm.
|Modifier and Type||Required Element and Description|
A Web Service that includes this member-value assumes the permission-level of the role specified and may access other resources accordingly.