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

SECURITY

Defines parameters and configuration information needed by the security service.

Subelements

The following table describes subelements for the SECURITY element.

Table 2–33 SECURITY Subelements

Element  

Required  

Description  

PROPERTY

zero or more 

Specifies a property or a variable. 

AUTHREALM

one or more 

Defines a realm for authentication. 

Attributes

The following table describes attributes for the SECURITY element.

Table 2–34 SECURITY Attributes

Attribute  

Default  

Description  

defaultrealm

file

(optional) Specifies the default authentication realm (an AUTHREALM name attribute) for this server instance. The default realm will be used to process authentication events for any web applications which do not otherwise specify which realm to use.

anonymousrole

ANYONE

(optional) Used as the name for default, or anonymous, role. The anonymous role is always assigned to all principals. 

audit

false

(optional) If true, additional access logging is performed to provide audit information. Legal values are on, off, yes, no, 1, 0, true, false.

Audit information consists of: 

  • Authentication success and failure events

  • Servlet access grants and denials

loglevel 

Value of level attribute of LOG element

(optional) Controls the type of messages logged by this element to the errors log. For details, see the description of the level attribute of the LOG element.