Sun GlassFish Enterprise Server v2.1.1 Application Deployment Guide

login-config

Specifies the authentication configuration for an EJB web service endpoint. Not needed for servlet web service endpoints. A servlet’s security configuration is contained in the web.xml file.

Superelements

webservice-endpoint (sun-web.xml, sun-ejb-jar.xml)

Subelements

The following table describes subelements for the login-config element.

Table A–65 login-config subelements

Element 

Required 

Description 

auth-method

only one 

Specifies the authentication method. 

realm

zero or one 

Specifies the name of the realm used to process all authentication requests.