Class AuthenticationResult
java.lang.Object
de.codecamp.vaadin.security.spring.authentication.AuthenticationResult
- All Implemented Interfaces:
Serializable
Contains the result of an authentication attempt.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic AuthenticationResultThe exception associated with the authentication failure, if available.booleanbooleanstatic AuthenticationResultsuccess()
-
Method Details
-
isSuccess
public boolean isSuccess() -
isFailure
public boolean isFailure() -
getException
The exception associated with the authentication failure, if available. Typically this is a subclass ofAuthenticationException.- Returns:
- exception associated with the authentication failure
-
success
-
failure
-