public final class UserRegistrationStage extends Object implements ProgressStage<UserRegistrationConfig>
Constructor and Description |
---|
UserRegistrationStage(ConnectionFactory connectionFactory)
Constructs a new user registration stage.
|
Modifier and Type | Method and Description |
---|---|
StageResponse |
advance(ProcessContext context,
UserRegistrationConfig config)
Advance the progress stage.
|
JsonValue |
gatherInitialRequirements(ProcessContext context,
UserRegistrationConfig config)
Response for defining any initial requirements the stage may have.
|
@Inject public UserRegistrationStage(ConnectionFactory connectionFactory)
connectionFactory
- the CREST connection factorypublic JsonValue gatherInitialRequirements(ProcessContext context, UserRegistrationConfig config) throws ResourceException
ProgressStage
An empty json object implies no initial requirements.
gatherInitialRequirements
in interface ProgressStage<UserRegistrationConfig>
context
- the current process contextconfig
- the stage configurationResourceException
- if some expected state is invalidpublic StageResponse advance(ProcessContext context, UserRegistrationConfig config) throws ResourceException
ProgressStage
advance
in interface ProgressStage<UserRegistrationConfig>
context
- the current process contextconfig
- the stage configurationResourceException
- if some expected state or input is invalidCopyright © 2010-2020, ForgeRock All Rights Reserved.