Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.jws.security
Annotation Type RunAs


Deprecated.

@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.


Required Element Summary
 String mapToPrincipal
          Deprecated. maps the runAs role in the to the name of security principal
 String role
          Deprecated. 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
Deprecated. 
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
Deprecated. 
maps the runAs role in the to the name of security principal


Copyright 1996, 2014, 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
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02