Hitachi

Hitachi Application Server V10 Command Reference Guide (For UNIX® Systems)


2.20.21 update-connector-security-map

Modifies a security map for the specified connector connection pool.

Synopsis

asadmin [asadmin-options] update-connector-security-map [--help]
    --poolname connector_connection_pool_name
    [--addprincipals principal_name1[,principal_name2]...]
    [--addusergroups user_group1[,user_group2]...]
    [--removeprincipals principal_name1[,principal_name2]...]
    [--removeusergroups user_group1[,user_group2]...]
    [--mappedusername username] mapname

Storage location

Application Server installation directory/javaee/glassfish/bin

Function

The update-connector-security-map subcommand of asadmin modifies a security map for the specified connector connection pool. This subcommand is supported in remote mode only.

Precondition

Arguments

--help | -?

Displays the help text for the subcommand.

--poolname connector_connection_pool_name

Specifies the name of the connector connection pool to which the security map that is to be updated, belongs.

Type: String

The following values can be specified:

  • Name of the connection pool

Default value: N/A

--addprincipals principal_name1[,principal_name2]...

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

--addusergroups user_group1[,user_group2]...

Specifies a comma-separated list of EIS user groups to be added.

Type: String

The following values can be specified:

  • Name of the group

Default value: N/A

--removeprincipals principal_name1[,principal_name2]...

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

--removeusergroups user_group1[,user_group2]...

Specifies a comma-separated list of EIS user groups to be removed.

Type: String

The following values can be specified:

  • Name of the group

Default value: N/A

--mappedusername username

Specifies the EIS username.

Type: String

The following values can be specified:

  • User name

Default value: N/A

mapname

Specifies the name of the security map to be updated.

Type: String

The following values can be specified:

  • Name of the application module

Default value: N/A

Examples

The following example adds principals to the existing security map named securityMap1.

asadmin update-connector-security-map --poolname connector-pool1 
--addprincipals principal1,principal2 securityMap1

Exit Status

Exit Status

Explanation

0

subcommand executed successfully.

1

error in executing the subcommand.