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, sendTokenaddDefaults, addFieldHelp, addOptional, addSelectors, addSuppress, addTranslations, customiseForm, customiseUpdateForm, getContext, getFactory, getLogger, getRecord, getRepository, modifyDefaultTableSpecification, postUpdate, preRegister, release, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddFieldConstraints, addFormFieldsprotected 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)
FormAuthCompositemodifyForm in class FormAuthComposite<AU extends AppUser>