Package | Description |
---|---|
org.jboss.as.domain.management.security.adduser |
Modifier and Type | Class and Description |
---|---|
class |
AbstractValidationState
Where multiple stages of validation need to be performed this
State provides a way to coordinate ensuring each stage
of the validation is performed. |
class |
AddUserState
State to perform the actual addition to the discovered properties files.
|
class |
ConfirmationChoice
State to display a message to the user with option to confirm a choice.
|
class |
DisplaySecret
A state to display the secret element needed for server to server password definition.
|
class |
ErrorState
State to report an error to the user, optionally a nextState can be supplied so the process can continue even though an
error has been reported.
|
class |
PreModificationState
State to branch between adding and updating the user and outputting summary information if not running in silent mode.
|
class |
PromptGroupsState
State responsible for prompting for the list of groups for a user.
|
class |
PromptNewUserState
State to prompt the user for the realm, username and password to use, this State can be called back to so allows for a
pre-defined realm and username to be used.
|
class |
PromptPasswordState
State to prompt the user for a password
This state handles password validation by let the user re-enter the password in case of the password mismatch the user will
be present for an error and will re-enter the PromptPasswordState again
|
class |
PromptRealmState
State to prompt the user to choose the name of the realm.
|
class |
PropertyFileFinder
The first state executed, responsible for searching for the relevant properties files.
|
class |
PropertyFilePrompt
State responsible for asking the user if they are adding a management user or an application user.
|
class |
UpdateUser
Describe the purpose
|
class |
ValidatePasswordState
State to perform validation of the supplied password.
|
class |
ValidateRealmState
State to perform some validation in the entered realm.
|
class |
ValidateUserState
State to perform validation of the supplied username.
|
Modifier and Type | Field and Description |
---|---|
protected State |
AddUser.nextState |
Modifier and Type | Method and Description |
---|---|
State |
DisplaySecret.execute() |
State |
AddUserState.execute() |
State |
PromptRealmState.execute() |
State |
ConfirmationChoice.execute() |
State |
State.execute() |
State |
PreModificationState.execute() |
State |
PropertyFilePrompt.execute() |
State |
PromptNewUserState.execute() |
State |
PromptGroupsState.execute() |
State |
PropertyFileFinder.execute() |
State |
UpdateUser.execute() |
State |
PromptPasswordState.execute() |
State |
AbstractValidationState.execute() |
State |
ValidateRealmState.execute() |
State |
ErrorState.execute() |
protected State |
ValidatePasswordState.getSuccessState() |
protected State |
ValidateUserState.getSuccessState() |
protected abstract State |
AbstractValidationState.getSuccessState()
Get the state to transition to once all validation is complete.
|
Modifier and Type | Method and Description |
---|---|
protected Collection<State> |
ValidatePasswordState.getValidationStates() |
protected Collection<State> |
ValidateUserState.getValidationStates() |
protected abstract Collection<State> |
AbstractValidationState.getValidationStates()
Get a
Collection containing all states required to perform the validation needed. |
Constructor and Description |
---|
ConfirmationChoice(ConsoleWrapper theConsole,
String[] messageLines,
String prompt,
State yesState,
State noState) |
ConfirmationChoice(ConsoleWrapper theConsole,
String message,
String prompt,
State yesState,
State noState) |
ErrorState(ConsoleWrapper theConsole,
String errorMessage,
State nextState) |
ErrorState(ConsoleWrapper theConsole,
String errorMessage,
State nextState,
StateValues stateValues) |
Copyright © 2023 JBoss by Red Hat. All rights reserved.