Sun GlassFish Enterprise Server v3 Application Deployment Guide

security-map

Maps the principal received during servlet or EJB authentication to the credentials accepted by the EIS. This mapping is optional. It is possible to map multiple Enterprise Server principals to the same back-end principal.

This is different from a work-security-map, which maps a principal associated with an incoming work instance to a principal in the Enterprise Server's security domain.

Superelements

connector-connection-pool (sun-resources.xml)

Subelements

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

Table C–128 security-map Subelements

Element 

Required 

Description 

principal

one or more 

Contains the principal of the servlet or EJB client. 

user-group

one or more 

Contains the group to which the principal belongs. 

backend-principal

only one 

Specifies the user name and password required by the EIS. 

Attributes

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

Table C–129 security-map Attributes

Attribute 

Default 

Description 

name

none 

Specifies a name for the security mapping.