public class AuthenticationFailed extends Object implements AuthenticationResponse
| Constructor and Description | 
|---|
AuthenticationFailed()
Necessary for JSON Serialization. 
 | 
AuthenticationFailed(AuthenticationFailureReason authenticationFailure)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected String | 
createMessage(AuthenticationFailureReason authenticationFailure)
Generates a Title Case string for give authentication Failure. 
 | 
boolean | 
equals(Object o)  | 
Optional<String> | 
getMessage()
message getter. 
 | 
int | 
hashCode()  | 
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisAuthenticatedpublic AuthenticationFailed()
public AuthenticationFailed(AuthenticationFailureReason authenticationFailure)
authenticationFailure - AuthenticationFailure enum which represents the failure reasonprotected String createMessage(AuthenticationFailureReason authenticationFailure)
authenticationFailure - the authentication failurepublic Optional<String> getMessage()
getMessage in interface AuthenticationResponse