Sun GlassFish Enterprise Server v3 Application Deployment Guide

work-security-map

Defines a work security map, which maps a principal associated with an incoming work instance to a principal in the Enterprise Server's security domain. It is possible to map multiple EIS group or user principals to the same Enterprise Server principal.

This is different from a security-map, which maps the principal received during servlet or EJB authentication to the credentials accepted by the EIS.

Superelements

resources (sun-resources.xml)

Subelements

The following table describes subelements for the work-security-map element.

Table C–161 work-security-map Subelements

Element 

Required 

Description 

description

zero or one 

Contains a text description of this element. 

principal-map

zero or more 

Maps an EIS principal to a principal defined in the Enterprise Server domain. 

group-map

zero or more 

Maps an EIS group to a group defined in the Enterprise Server domain. 

Attributes

The following table describes attributes for the work-security-map element.

Table C–162 work-security-map Attributes

Attribute 

Default 

Description 

name

none 

Specifies a unique name for the work security map. 

description

none 

Specifies a text description for this element.