uCosminexus Application Server, Security Management Guide
Define the Web application (servlets and JSP) security role references.
Servlet attribute file
Execute the following command to obtain the servlet attribute file.
cjgetappprop [server name] [-nameserver provider URL] -name J2EE application name -type war -resname WAR display name/servlet and JSP display name -c servlet attribute file path |
cjgetappprop MyServer -name adder -type war -resname adder/adder_sv -c C:\home\adder_war.xml
Execute the following command to reflect the WAR attribute file values.
cjsetappprop [server name] [-nameserver provider URL] -name J2EE application name -type war -resname WAR display name/servlet and JSP display name -c servlet attribute file path |
cjsetappprop MyServer -name adder -type war -resname adder/adder_sv -c C:\home\adder_war.xml
The following table lists the Web application (servlets and JSP) 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.
For details about the property settings, see subsection 3.9.1 Specification of the servlet attribute file in the uCosminexus Application Server Application and Resource Definition Reference Guide.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd