Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
User Commandsupdate-connector-security-map(1)


NAME

 update-connector-security-map - updates the security map for the named connector connection pool

SYNOPSIS

 update-connector-security-map --user admin_user [ --password admin_password ][ --host localhost ] [ --port 4848 ][ --secure|-s ] [ --passwordfile filename ] [ --terse=false ] [ --echo=false ] [ --interactive=true ] --poolname connector_connection_pool_name [ --addprincipals principal-name[ , principal-name ]* ]| [ --addusergroups user-group[ , user-group ]* ] [ --removeprincipals principal-name[ , principal-name ]* ] [ --removeusergroups user-group[ , user-group ]* ] [ --mappedusername user_name ] [ [ --mappedpassword password ] ] mapname

DESCRIPTION

 

Modifies a security map for the named connector connection pool. You must have first created a connector connection pool using the create-connector-connection-pool command.

This command is supported in remote mode only.


OPTIONS

 
--user
authorized domain application server administrative username.
--password
password to administer the domain application server.
--host
machine name where the domain application server is running.
--port
port number of the domain application server listening for administration requests.
--secure
if true, uses SSL/TLS to communicate with the domain application server.
--passwordfile
file containing the domain application server password.
--terse
indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-formatted data for consumption by a script. Default is false.
--echo
setting to true will echo the command line statement on the standard output. Default is false.
--interactive
if set to true (default), only the required password options are prompted.
--poolname
connector connection pool name for which the security map that is to be updated or created belongs to.
--addprincipals
a comma separated list of backend EIS principals to be added.
--addusergroups
a comma separated list of the enterprise information system usergroups to be added.
--removeprincipals
a comma separated list of the enterprise information system principals to be removed.
--removeusergroups
a comma separated list of the enterprise information system usergroups to be removed.
--mappedusername
the enterprise information system username.
--mappedpassword
the enterprise information system password.

OPERANDS

 
mapname
name of the security map to be updated.

EXAMPLES

 Example 1. Using update-connector-security-map
 

It is assumed that the connector pool has already been created using the create-connector-pool command.

 
asadmin> update-connector-security-map --user admin --password adminadmin
--poolname connector-pool1 --addprincipals principal1, principal2, 
--addusergroups usergroup1, usergroup2 --removeprincipals principal3, principal4 
--removeusergroups usergroup3, usergroup4 securityMap1
Command update-connector-security-map executed successfully

EXIT STATUS

 
0
command executed successfully
1
error in executing the command

SEE ALSO

 

create-connector-security-map(1), delete-connector-security-map(1), list-connector-security-maps(1)



J2EE 1.4 SDKGo To TopLast Changed March 2004