Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04

weblogic.jws.security
Annotation Type RunAs


@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

role

public abstract String role
A Web Service that includes this member-value assumes the permission-level of the role specified and may access other resources accordingly.


mapToPrincipal

public abstract String mapToPrincipal
maps the runAs role in the to the name of security principal


Copyright 1996, 2010, 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.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.4)

Part Number E13941-04