Class ValidatedUsernameCallback
java.lang.Object
org.forgerock.openam.authentication.callbacks.AbstractValidatedCallback
org.forgerock.openam.authentication.callbacks.ValidatedUsernameCallback
- All Implemented Interfaces:
Serializable
,Callback
@Supported
public class ValidatedUsernameCallback
extends org.forgerock.openam.authentication.callbacks.AbstractValidatedCallback
implements Serializable
Callback to collect a username and validate it against IDM policy.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A builder for constructingValidatedUsernameCallback
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Get a builder for constructing a new ValidatedUsernameCallback.Get the prompt.Get the retrieved username.void
setUsername
(String username) Set the retrieved username.
-
Method Details
-
getPrompt
Get the prompt.- Returns:
- the prompt.
-
setUsername
Set the retrieved username.- Parameters:
username
- the retrieved name (which may be null).
-
getUsername
Get the retrieved username.- Returns:
- the retrieved username (which may be null)
-
builder
Get a builder for constructing a new ValidatedUsernameCallback.- Returns:
- a new builder
-