uCosminexus Application Server, Security Management Guide
Define Enterprise Bean security role references.
Edit the attributes files for each type of Enterprise Bean.
Execute the following command to obtain the Enterprise Bean attribute file.
cjgetappprop [server name] [-nameserver provider URL] -name J2EE application name -type ejb -resname EJB-JAR display name/enterprise bean display name -c enterprise bean attribute file path |
cjgetappprop MyServer -name adder -type ejb -resname adder/adder_eb -c C:\home\adder_ejb.xml
Execute the following command to reflect the Enterprise Bean attribute file values.
cjsetappprop [server name] [-nameserver provider URL] -name J2EE application name -type ejb -resname EJB-JAR display name/enterprise bean display name -c enterprise bean attribute file path |
cjsetappprop MyServer -name adder -type ejb -resname adder/adder_eb -c C:\home\adder_ejb.xml
The following table lists the Enterprise Bean security role reference (<security-role-ref>) settings.
| Item | Required | Tag name |
|---|---|---|
| Description | O | <description> |
| Security role reference name | R | <role-name> |
| Linked security role name# | O | <role-link> |
Legend:
R: Required, O: Optional
#: Specify a set role name. To learn more about setting role names, see 9.2.2 Setting roles. When setting up the EJB-JAR attribute file after setting <role-link>, the <role-link> value is cleared. Define the security role reference again.
For details about property settings, see:
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd