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 Commandscreate-connector-security-map(1)


 create-connector-security-map - creates a security map for the named connector connection pool


 create-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 --principals principal-name[ , principal-name ]*|--usergroups user-group[ , user-group ]* --mappedusername user_name [ --mappedpassword password ] mapname



Creates a security map for the named connector connection pool. If the security map is not present, one is created. You must have first created a connector connection pool using the create-connector-connection-pool command. The enterprise information system is any system which holds the information. It can be a mainframe, a messaging system, a database system, or even an application.

The --principals option and --usergroups option are mutually exclusive; only one should be used.

This command is supported in remote mode only.


authorized domain application server administrative username.
password to administer the domain application server.
machine name where the domain application server is running.
port number of the domain application server listening for administration requests.
if true, uses SSL/TLS to communicate with the domain application server.
file containing the domain application server password.
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.
setting to true will echo the command line statement on the standard output. Default is false.
if set to true (default), only the required password options are prompted.
connector connection pool name.
a comma separated list of J2EE principals.
a comma separated list of J2EE usergroups.
the enterprise information system username.
the enterprise information system password.


name of the security map to be created.


 Example 1. Using create-connector-security-map

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

asadmin> create-connector-security-map --user admin --password adminadmin
poolname connector-pool1 --principals principal1,principal2 
--usergroups usergroup1,usergroup2 --mappedusername backend-username 
--mappedpassword backend-password securityMap1
Command create-connector-security-map executed successfully


command executed successfully
error in executing the command



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

J2EE 1.4 SDKGo To TopLast Changed March 2004