public class AuthenticationResult extends Object implements IAuthenticationResult
FAILURE, SUCCESS| Constructor and Description |
|---|
AuthenticationResult() |
AuthenticationResult(boolean value) |
AuthenticationResult(String reason,
Exception exception) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
Exception |
getException() |
String |
getReason() |
boolean |
isFailure() |
boolean |
isSuccess() |
void |
setCode(int code) |
void |
setException(Exception exception) |
void |
setFailure() |
void |
setReason(String reason) |
void |
setSuccess() |
public AuthenticationResult()
public AuthenticationResult(boolean value)
public void setSuccess()
setSuccess in interface IAuthenticationResultpublic void setFailure()
setFailure in interface IAuthenticationResultpublic boolean isSuccess()
isSuccess in interface IAuthenticationResultpublic boolean isFailure()
isFailure in interface IAuthenticationResultpublic void setReason(String reason)
setReason in interface IAuthenticationResultpublic String getReason()
getReason in interface IAuthenticationResultpublic void setException(Exception exception)
setException in interface IAuthenticationResultpublic Exception getException()
getException in interface IAuthenticationResultpublic void setCode(int code)
setCode in interface IAuthenticationResultpublic int getCode()
getCode in interface IAuthenticationResultCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.