Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Developer's Guide

- Previous: Attributes
- Next: B

### Example

Here is an example of the default file realm:

    <auth-realm name="file"
       classname="com.sun.enterprise.security.auth.realm.file.FileRealm">
       <property name="file" value="domain-dir/config/keyfile"/>
       <property name="jaas-context" value="fileRealm"/>
    </auth-realm>

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.

- Previous: Attributes
- Next: B

- © 2010, Oracle Corporation and/or its affiliates