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

Part Number E41849-02

weblogic.ejbgen
Annotation Type RoleMapping


@Retention(value=CLASS)
@Target(value=java.lang.annotation.ElementType.TYPE)
public @interface RoleMapping


Required Element Summary
 String roleName
          Specifies the name of the role.
 
Optional Element Summary
 Constants.Bool externallyDefined
          (True|False) Trus if this role is defined externally.
 String globalRole
          (True|False) True if this role is global.
 String id
          The identity of this tag (used for tag inheritance only).
 String principals
          Specifies the names of the principals in this role (separated by commas).
 

Element Detail

roleName

public abstract String roleName
Specifies the name of the role.

globalRole

public abstract String globalRole
(True|False) True if this role is global.

Default:
"UNSPECIFIED"

externallyDefined

public abstract Constants.Bool externallyDefined
(True|False) Trus if this role is defined externally.

Default:
weblogic.ejbgen.Constants.Bool.UNSPECIFIED

principals

public abstract String principals
Specifies the names of the principals in this role (separated by commas).

Default:
"UNSPECIFIED"

id

public abstract String id
The identity of this tag (used for tag inheritance only).

Default:
"UNSPECIFIED"

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