BEA Systems, Inc.

weblogic.jws.security
Interface RunAs

All Superinterfaces:
Annotation

@Retention(value=RUNTIME)
@Target(value=TYPE)
public interface RunAs
extends Annotation

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.


Method 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.
 
Methods inherited from interface java.lang.annotation.Annotation
annotationType, equals, hashCode, toString
 

Method Detail

role

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

String mapToPrincipal()
maps the runAs role in the to the name of security principal


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs92
Copyright 2006 BEA Systems Inc.