Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Administration Reference

- Previous: profiler
- Next: provider-config

## property

Specifies a property. A property adds configuration information to its parent element that is one or both of the following:

- Optional with respect to the Application Server

- Needed by a system or object that the Application Server doesn’t have knowledge of, such as an LDAP server or a Java class

  For example, an `auth-realm` element can include `property` subelements:

      <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.

### Superelements

admin-object-resource, admin-service, alert-service, audit-module, auth-realm, config, connector-connection-pool, connector-resource, custom-resource, das-config, domain, ejb-container, ejb-timer-service, external-jndi-resource, filter-config, http-listener, http-service, iiop-listener, jacc-provider, java-config, jdbc-connection-pool, jdbc-resource, jms-host, jms-service, lifecycle-module, listener-config, log-service, mail-resource, manager-properties, mdb-container, module-log-levels, module-monitoring-levels, monitoring-service, orb, persistence-manager-factory-resource, profiler, provider-config, resource-adapter-config, security-service, server, session-properties, store-properties, transaction-service, virtual-server, web-container

### Subelements

The following table describes subelements for the `property` element.

Table 1–95 `property` Subelements

Element | Required | Description
--- | --- | ---
description | zero or one | Contains a text description of this element.

### Attributes

The following table describes attributes for the `property` element.

Table 1–96 `property` Attributes

Attribute | Default | Description
--- | --- | ---
`name` | none | Specifies the name of the property or variable.
`value` | none | Specifies the value of the property or variable.

- Previous: profiler
- Next: provider-config

- © 2010, Oracle Corporation and/or its affiliates