uCosminexus Application Server, Security Management Guide
Define the servlet and JSP security identities.
Specify the runtime identity information that is used by a servlet when EJB is invoked.
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 servlet 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 definition (security identity) settings.
| Item | Required | Tag name |
|---|---|---|
| Description on role identity | O | <run-as> - <description> |
| Security role name | R | <run-as> - <role-name> |
| Name specified in security role | R | <run-as> - <user-name> |
Legend:
R: Required, O: Optional
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