Sun Java System Web Server 6.1 SP11 Administrator's Configuration File Reference

AUTHREALM

Defines a realm for authentication.

Authentication realms require provider-specific properties, which vary depending on the needs of a particular implementation.

Here is an example of the default file realm:

<authrealm name="file"

classname="com.iplanet.ias.security.auth.realm.file.FileRealm">

<property name="file" value="instance_dir/config/keyfile">

<property name="jaas-context" value="fileRealm">

</authrealm>

Which properties an AUTHREALM element uses depends on the value of the AUTHREALM element's name attribute. The file realm uses file and jaas-context properties. Other realms use different properties.

Subelements

The following table describes subelements for the AUTHREALM element.

Table 2–35 AUTHREALM Subelements

Element  

Required  

Description  

PROPERTY

zero or more 

Specifies a property or a variable. 

Attributes

The following table describes attributes for the AUTHREALM element.

Table 2–36 AUTHREALM Attributes

Attribute  

Default  

Description  

name

none 

Specifies the name of this realm. 

classname

none 

Specifies the Java class that implements this realm. 

Properties

The standard realms provided have both required and optional properties. A custom realm may have different properties. For details about the properties and configuration characteristics of the AUTHREALM realms, refer to the chapter “Securing Web Applications” in the Sun Java System Web Server 6.1 Programmer's Guide to Web Applications.