The Attribute Prompt Action checks the Subject Attributes for the configured attributes. If at least one of them is not found, a form will be shown where the user can fill the missing attributes. Those will be added in the Subject Attributes when the action completes. If all the configured attributes are available in the Subject Attributes (i.e. from a previous action), the prompt will not be shown.
The configuration of the Attribute Prompt action accepts a list of attributes with the following parameters:
true
false
text
password
email
url
tel
number
checkbox
color
Fig. 116 Attribute Prompt Configuration Dialog
The labels, errors and icons (icons don’t apply for types color and checkbox) can be localized.
For an attribute with name=phoneNumber:
name=phoneNumber
authentication-action.attribute-prompt.attribute.phoneNumber.label=Phone Number
authentication-action.attribute-prompt.attribute.phoneNumber.icon=phone-portrait
authentication-action.attribute-prompt.validation.error.phoneNumber.required=Phone Number is required
authentication-action.attribute-prompt.validation.error.phoneNumber.validation.failed=Phone Number not valid
Note
The keys validation.error.{attribute_name}.required and validation.error.{attribute_name}.validation.failed come into play when is-required and regular-expression are set, respectively.
validation.error.{attribute_name}.required
validation.error.{attribute_name}.validation.failed
is-required
regular-expression