Class ValidatePasswordState
- java.lang.Object
-
- org.jboss.as.domain.management.security.adduser.AbstractValidationState
-
- org.jboss.as.domain.management.security.adduser.ValidatePasswordState
-
- All Implemented Interfaces:
State
public class ValidatePasswordState extends AbstractValidationState
State to perform validation of the supplied password.- Author:
- Darran Lofthouse
-
-
Constructor Summary
Constructors Constructor Description ValidatePasswordState(ConsoleWrapper theConsole, StateValues stateValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StategetSuccessState()Get the state to transition to once all validation is complete.protected Collection<State>getValidationStates()Get aCollectioncontaining all states required to perform the validation needed.-
Methods inherited from class org.jboss.as.domain.management.security.adduser.AbstractValidationState
execute
-
-
-
-
Constructor Detail
-
ValidatePasswordState
public ValidatePasswordState(ConsoleWrapper theConsole, StateValues stateValues)
-
-
Method Detail
-
getValidationStates
protected Collection<State> getValidationStates()
Description copied from class:AbstractValidationStateGet aCollectioncontaining all states required to perform the validation needed. On initialisation an Iterator will be created for this collection - each time this state is called the next state returned by the Iterator will be called to perform validation. Once the Iterator is exhausted the success state will be returned instead. If validation fails then it is expected that the individual validation states will transition away from this state, this is why there is no error or failure state.- Specified by:
getValidationStatesin classAbstractValidationState
-
getSuccessState
protected State getSuccessState()
Description copied from class:AbstractValidationStateGet the state to transition to once all validation is complete.- Specified by:
getSuccessStatein classAbstractValidationState- Returns:
- The state to transition to once all validation is complete.
-
-