Note: this component is designated "advanced", which means that objects of this type are not expected to be created or altered in most environments. If you believe that such a change is necessary, you may want to contact support in order to understand the potential impact of that change.
A Boolean Token Claim Validation defines a validation condition for a boolean claim.
The Boolean Token Claim Validation component inherits from the Token Claim Validation
The properties supported by this managed object are as follows:
Basic Properties: | Advanced Properties: |
---|---|
description | None |
claim-name | |
required-value |
Description | A description for this Token Claim Validation |
Default Value | None |
Allowed Values | A string |
Multi-Valued | No |
Required | No |
Admin Action Required | None. Modification requires no further action |
Description | The name of the claim to be validated. This claim must be present, and its name must be an exact match. |
Default Value | None |
Allowed Values | A string |
Multi-Valued | No |
Required | Yes |
Admin Action Required | None. Modification requires no further action |
Description | Specifies the boolean claim's required value. |
Default Value | None |
Allowed Values | true - The claim must have a value of true to be considered valid. false - The claim must have a value of false to be considered valid. |
Multi-Valued | No |
Required | Yes |
Admin Action Required | None. Modification requires no further action |
To list the configured Token Claim Validations:
dsconfig list-token-claim-validations [--property {propertyName}] ...
To view the configuration for an existing Token Claim Validation:
dsconfig get-token-claim-validation-prop --validation-name {name} --validator-name {name} [--tab-delimited] [--script-friendly] [--property {propertyName}] ...
To update the configuration for an existing Token Claim Validation:
dsconfig set-token-claim-validation-prop --validation-name {name} --validator-name {name} (--set|--add|--remove) {propertyName}:{propertyValue} [(--set|--add|--remove) {propertyName}:{propertyValue}] ...
To create a new Boolean Token Claim Validation:
dsconfig create-token-claim-validation --validation-name {name} --validator-name {name} --type boolean --set claim-name:{propertyValue} --set required-value:{propertyValue} [--set {propertyName}:{propertyValue}] ...
To delete an existing Token Claim Validation:
dsconfig delete-token-claim-validation --validation-name {name} --validator-name {name}