2.20.5 create-connector-work-security-map
Creates a work security map for the specified resource adapter.
Synopsis
asadmin [asadmin-options] create-connector-work-security-map [--help] --raname raname [--principalsmap eis-principal1=principal_name1 [,eis-principal2=principal_name2]...| --groupsmap eis-group1=server-group1[,eis-group2=server-group2]...] mapname
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The create-connector-work-security-map subcommand maps the caller identity of the work submitted by the resource adapter EIS principal or EIS user group to a suitable principal or user group in Java EE Server security domain.
One or more work security maps can be associated with a resource adapter. The connector work security map configuration supports the use of the wild card asterisk (*) to indicate all users or all user groups.
The Enterprise Information System (EIS) can be any system that holds the data of an organization. It can be a mainframe, a messaging system, a database system, or an application.
This command is supported in remote mode only.
Precondition
DAS has to be in a running state.
Arguments
- --help | -?
-
Displays the help text for the subcommand.
- --groupsmap eis-group1=server-group1[,eis-group2=server-group2]...
-
Specifies a map of the backend EIS user group to Java EE Server user group.
Use a comma-separated list to specify more than one mapping. Use either the --principalsmap option or the --groupsmap option, but not both.
Type: String
The following values can be specified:
-
Name of map of backend EIS
Default value: N/A
-
- --principalsmap eis-principal1=principal_name1[,eis-principal2=principal_name2]...
-
Specifies a map of the backend EIS principal to the Java EE Server principal.
Use a comma-separated list to specify more than one mapping. Use either the --principalsmap option or the --groupsmap option, but not both.
Type: String
The following values can be specified:
-
Principle map name
Default value: N/A
-
- --raname raname
-
Indicates the connector module name that is the name of the resource adapter.
Type: String
The following values can be specified:
-
Connector module name
Default value: N/A
-
- mapname
-
Specifies the name of the work security map to be created.
Type: String
The following values can be specified:
-
Name of the map
Default value: N/A
-
Examples
The following example creates a connector work security map.
asadmin create-connector-work-security-map --raname my-resource-adapter --principalsmap eis-principal-1=server-principal-1,eis-principal-2 =server-principal-2,eis-principal-3=server-principal-1 workSecurityMap1
Exit Status
Exit Status |
Explanation |
---|---|
0 |
command executed successfully. |
1 |
error in executing the command. |