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

Part Number E27170-01

weblogic.jws.security
Annotation Type SecurityRole


@Retention(value=RUNTIME)
@Target(value=java.lang.annotation.ElementType.TYPE)
public @interface SecurityRole

The security-role element contains the definition of a security role. The definition consists of an optional description of the security role, and the security role name.


Required Element Summary
 String role
          role name of <Security-Role> in the deployment descriptor
 
Optional Element Summary
 String[] mapToPrincipals
          A list of principals listed in weblogic deployment descriptor.
 

Element Detail

role

public abstract String role
role name of <Security-Role> in the deployment descriptor

mapToPrincipals

public abstract String[] mapToPrincipals
A list of principals listed in weblogic deployment descriptor. If unspecified, security-roles are externally defined.

Default:
{}

Copyright 1996, 2013, 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.2)

Part Number E27170-01