@Introspected
public class FailedAuthenticationScenario
extends java.lang.Object
Constructor and Description |
---|
FailedAuthenticationScenario(java.lang.String username,
AuthenticationFailureReason reason) |
Modifier and Type | Method and Description |
---|---|
AuthenticationFailureReason |
getReason() |
java.lang.String |
getUsername() |
public FailedAuthenticationScenario(@NonNull java.lang.String username, @NonNull AuthenticationFailureReason reason)
username
- usernamereason
- reason for failure@NonNull public java.lang.String getUsername()
@NonNull public AuthenticationFailureReason getReason()