Skip Headers
Oracle GlassFish Server Reference Manual
Release 3.1.2

Part Number E24938-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

update-connector-work-security-map

modifies a work security map for the specified resource adapter

Synopsis

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

Description

The update-connector-work-security-map subcommand modifies a security map for the specified resource adapter.

This subcommand is supported in remote mode only.

Options

--help
-?

Displays the help text for the subcommand.

--addgroups

Specifies a comma-separated list of EIS groups to be added. Use either the --addprincipals option or the --addgroups option, but not both.

--addprincipals

Specifies a comma-separated list of EIS-specific principals to be added. Use either the --addprincipals option or the --addgroups option, but not both.

--removegroups

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

--removeprincipals

Specifies a comma-separated list of EIS-specific principals to be removed.

--raname

Indicates the connector module name with which the work security map is associated.

Operands

mapname

The name of the work security map to be updated.

Examples

Example 1   Updating a Connector Work Security Map

This example updates workSecurityMap2 by removing eis-group-2.

asadmin> update-connector-work-security-map
--raname my-resource-adapter --removegroups eis-group-2 workSecurityMap2
Command update-connector-work-security-map executed successfully.

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also

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

asadmin(1M)