uCosminexus Application Server, Security Management Guide

[Contents][Index][Back][Next]

9.5.2 Servlet and JSP security identities

Define the servlet and JSP security identities.

Specify the runtime identity information that is used by a servlet when EJB is invoked.

Organization of this subsection
(1) Attribute files to be edited
(2) Obtaining the attribute file to be edited and setting up attributes
(3) Attribute settings to be edited

(1) Attribute files to be edited

Servlet attribute file

(2) Obtaining the attribute file to be edited and setting up attributes

Obtaining the attribute file

Execute the following command to obtain the servlet attribute file.

Execute form
 
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
 

Example
cjgetappprop MyServer -name adder -type war -resname adder/adder_sv -c C:\home\adder_war.xml
Setting up attributes

Execute the following command to reflect the servlet attribute file values.

Execute form
 
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
 

Example
cjsetappprop MyServer -name adder -type war -resname adder/adder_sv -c C:\home\adder_war.xml
  

(3) Attribute settings to be edited

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.