The Request Acknowledgement authentication action allows to display a message to notify the user or ask them something. For example, one could ask the user to accept or decline terms and conditions to use a service.
The user is presented with an Accept button and with an optional Cancel button. The response can then be stored in a configurable attribute which can be used by other actions in the authentication pipeline:
true
false
This authentication action has two modes to decide when the acknowledgement is requested:
The Attribute Condition mode can be used to display the acknowledgement request only once to a given user if the response is persisted into a database in another authentication action.
The acknowledgement request message, the Accept button and Cancel button labels are customizable in various ways :
The default messages can be overridden using one of the following keys:
authentication-action.request-acknowledgement.view.accept
authentication-action.request-acknowledgement.view.cancel
See Localizing Resources about how to override the default messages.
The following configuration options are available:
message
accept-button-label
OK
cancel-button-label
Cancel
cancellable
user-response-attribute
user-response-attribute/name
user-response-attribute/location
always
attribute-condition
attribute-condition/name
attribute-condition/location
Note that either always or attribute-condition must be specified.