public class IdentityTokenCheck extends Object
Modifier and Type | Method and Description |
---|---|
Optional<EIdentityTokenFailure> |
getCheckFailed() |
String |
getNewToken() |
boolean |
isCheckSkipped() |
static IdentityTokenCheck |
perform(IEntityContext ec,
IFormRequestContext requestCtx)
When enabled, an ID is generated based on the data of a submitted form.
|
public Optional<EIdentityTokenFailure> getCheckFailed()
public boolean isCheckSkipped()
public String getNewToken()
EIdentityTokenFailure.GENERATE_MAX_LENGTH_EXCEEDED
,
contains the invalid token. Blank for any other errors.public static IdentityTokenCheck perform(IEntityContext ec, IFormRequestContext requestCtx)
ec
- Entity context for accessing the database.ctx
- Form request context for the new form data that was submitted.Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.