2.20.22 update-connector-work-security-map
Modifies a work security map for the specified resource adapter.
Synopsis
asadmin [asadmin-options] update-connector-work-security-map [--help] --raname raname [--addprincipals eis-principal1=server-principal1 [, eis-principal2=server-principal2]...] --addgroups eis-group1=server-group1 [, eis-group2=server-group2]... [--removeprincipals eis-principal1[,eis-principal2]...] [--removegroups eis-group1[, eis-group2]...] mapname
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The update-connector-work-security-map subcommand of asadmin modifies a security map for the specified resource adapter. This subcommand is supported in remote mode only.
Precondition
-
A connector connection pool must be existing.
-
Domain Administration Server (DAS) is running.
Arguments
- --help | -?
-
Displays the help text for the subcommand.
- --addgroups eis-group1=server-group1[, eis-group2=server-group2]...
-
Specifies a comma-separated list of EIS groups to be added.
Type: String
The following values can be specified:
-
Name of the group
Default value: N/A
-
- --addprincipals eis-principal1=server-principal1 [, eis-principal2=server-principal2]...
-
Specifies a comma-separated list of EIS-specific principals to be added.
Type: String
The following values can be specified:
-
Name of the principal
Default value: N/A
-
- --removegroups eis-group1[, eis-group2]...
-
Specifies a comma-separated list of EIS groups to be removed.
Type: String
The following values can be specified:
-
Name of the group
Default value: N/A
-
- --removeprincipals eis-principal1[,eis-principal2]...
-
Specifies a comma-separated list of EIS-specific principals to be removed.
Type: String
The following values can be specified:
-
Name of the principal
Default value: N/A
-
- --raname raname
-
Specifies the connector module name with which the work security map is associated.
Type: String
The following values can be specified:
-
Resource adapter name
Default value: N/A
-
- mapname
-
Specifies the name of the work security map to be updated.
Type: String
The following values can be specified:
-
Name of the work security map
Default value: N/A
-
Examples
The following example removes a principal from a work security map.
asadmin update-connector-work-security-map --raname generic-ra --removeprincipals eis-foo generic-ra-principals-map
Exit Status
Exit Status |
Explanation |
---|---|
0 |
subcommand executed successfully. |
1 |
error in executing the subcommand. |