|
Oracle | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=java.lang.annotation.ElementType.TYPE) public @interface RunAs
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. Copyright (c) 2005 by BEA Systems. All Rights Reserved.
Required Element Summary | |
---|---|
String |
mapToPrincipal
maps the runAs role in the to the name of security principal |
String |
role
A Web Service that includes this member-value assumes the permission-level of the role specified and may access other resources accordingly. |
Element Detail |
---|
public abstract String role
public abstract String mapToPrincipal
|
Documentation is available at http://edocs.bea.com/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 | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |