public abstract class CodeAuthComposite<AU extends AppUser,T> extends FormAuthComposite<AU>
FormAuthComposite
with a single field.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CODE
form field for autentication code in augmented forms.
|
protected static java.lang.String |
VERIFICATION_CODE_LABEL |
Constructor and Description |
---|
CodeAuthComposite(AppUserFactory<AU> fac) |
Modifier and Type | Method and Description |
---|---|
abstract Input<T> |
getInput() |
void |
modifyForm(AU user,
Form f)
Add two factor fields to a form.
|
abstract boolean |
verify(AU target,
T value) |
addExtra, authenticated, enabled, getConfigPrefix, getType, needAuth, needToken, requireAuth, sendToken
addDefaults, addFieldHelp, addOptional, addSelectors, addSuppress, addTranslations, customiseForm, customiseUpdateForm, getContext, getFactory, getLogger, getRecord, getRepository, modifyDefaultTableSpecification, postUpdate, preRegister, release, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addFieldConstraints, addFormFields
protected static final java.lang.String VERIFICATION_CODE_LABEL
public static final java.lang.String CODE
public CodeAuthComposite(AppUserFactory<AU> fac)
fac
- public void modifyForm(AU user, Form f)
FormAuthComposite
modifyForm
in class FormAuthComposite<AU extends AppUser>