Skip to main content
Version: 7.2402.x.x RR

GUI

This AuthState comes with its own GUI. Some parts of the GUI can be adjusted manually; the rest will be generated. If no GUI Descriptor is defined, the AuthState will generate a default GUI, which will look like the following. The questions will be set according to the user language.

<Gui name="sq.update.title" label="sq.update.title">
<GuiElem name="info" type="info" label="sq.update.prompt" />
<GuiGroup name="sq" type="select" label="sq.selection.label">
<GuiElem name="sq" type="option"
label="What was the last name of your favorite teacher in high school?" value="104" />
<GuiElem name="sq" type="option"
label="What was the first concert you attended?" value="105" />
<GuiElem name="sq" type="option"
label="What is the first and last name of your first boyfriend or girlfriend?"
value="106" />
<GuiElem name="sq" type="option"
label="Where (village, city or area) was the earliest vacation you can remember?" value="107" />
<GuiElem name="sq" type="option"
label="What is your maternal grandmother's maiden name?" value="108" />
<GuiElem name="sq" type="option" label="What was your maternal grandmother's occupation?" value="109" />
</GuiGroup>
<GuiElem name="answer" type="text" label="sq.update.answer.label" />
<GuiElem name="submit" type="button" label="sq.submit.label" value="submit" />
</Gui>

It is also possible to define a GUI Descriptor such that you can add more elements or use your own label key for the submit button and the title. See the following example:

<Gui name="Security Questions" label="my.update.title">
<GuiElem name="lasterror" type="error"
label="${notes:lasterrorinfo}" value="${notes:lasterror}" />
<GuiElem name="submit" type="button" label="my.submit.label" value="submit" />
</Gui>