Sun GlassFish Enterprise Server v2.1.1 Application Deployment Guide


Here is an example of the default file realm:

<auth-realm name="file"
   <property name="file" value="domain-dir/config/keyfile"/>
   <property name="jaas-context" value="fileRealm"/>

Which properties an auth-realm element uses depends on the value of the auth-realm element’s name attribute. The file realm uses file and jaas-context properties. Other realms use different properties. See Realm Configuration in Sun GlassFish Enterprise Server v2.1.1 Developer’s Guide.