Sun GlassFish Enterprise Server 2.1 Application Deployment Guide

message-security-binding

Specifies a custom authentication provider binding for a parent webservice-endpoint or port-info element in one or both of these ways:

Superelements

webservice-endpoint, port-info (sun-web.xml, sun-ejb-jar.xml, sun-application-client.xml)

Subelements

The following table describes subelements for the message-security-binding element.

Table A–74 message-security-binding Subelements

Element 

Required 

Description 

message-security

zero or more 

Specifies message security requirements. 

Attributes

The following table describes attributes for the message-security-binding element.

Table A–75 message-security-binding Attributes

Attribute 

Default 

Description 

auth-layer

none 

Specifies the message layer at which authentication is performed. The value must be SOAP.

provider-id

none 

(optional) Specifies the authentication provider used to satisfy application-specific message security requirements. 

If this attribute is not specified, a default provider is used, if it is defined for the message layer. 

if no default provider is defined, authentication requirements defined in the message-security-binding are not enforced.