public final class TermsAndConditionsStage extends Object implements ProgressStage<TermsAndConditionsConfig>
Modifier and Type | Field and Description |
---|---|
static String |
TERMS_ACCEPTED
Property name for the terms acceptance object.
|
static String |
TERMS_DATE
Property name for the date of terms acceptance.
|
static String |
TERMS_VERSION
Property name for the version of terms accepted.
|
Constructor and Description |
---|
TermsAndConditionsStage() |
Modifier and Type | Method and Description |
---|---|
StageResponse |
advance(ProcessContext context,
TermsAndConditionsConfig config)
Advance the progress stage.
|
JsonValue |
gatherInitialRequirements(ProcessContext context,
TermsAndConditionsConfig config)
Response for defining any initial requirements the stage may have.
|
public static final String TERMS_ACCEPTED
public static final String TERMS_VERSION
public static final String TERMS_DATE
public JsonValue gatherInitialRequirements(ProcessContext context, TermsAndConditionsConfig config)
ProgressStage
An empty json object implies no initial requirements.
gatherInitialRequirements
in interface ProgressStage<TermsAndConditionsConfig>
context
- the current process contextconfig
- the stage configurationpublic StageResponse advance(ProcessContext context, TermsAndConditionsConfig config) throws ResourceException
ProgressStage
advance
in interface ProgressStage<TermsAndConditionsConfig>
context
- the current process contextconfig
- the stage configurationResourceException
- if some expected state or input is invalidCopyright © 2010-2020, ForgeRock All Rights Reserved.