if-named-password

Performs a test on a named password from the driver. The type of test performed depends on the operator specified by the op attribute. The following table shows the type of test performed by each operator.

Remarks

Operator

Returns true when...

available

There is password with the specified name available.

not-available

Available returns false.

Example

<if-named-password op="available" name="extraPassword"/>

Allowed Content

#PCDATA

Attributes

Attribute

Possible Values

Default Value

disabled

true | false

True if this element is disabled.

false

name

CDATA

Name of the password.

#REQUIRED

notrace

t rue | false

True if this element should not be traced during execution of the policy.

false

op

available | not-available

Test operator.

#REQUIRED

Content Declaration

( #PCDATA )

Parent Elements

Element

Description

and

Logical conjunction.

or

Logical disjunction.