public class DefaultAuthenticateCredentialsContext extends Object implements CredentialsAuthenticationContext
| 限定符和类型 | 字段和说明 |
|---|---|
protected boolean |
error |
protected Object |
errorObj |
protected String |
identity |
protected leap.core.validation.Validation |
validation |
| 构造器和说明 |
|---|
DefaultAuthenticateCredentialsContext(leap.core.validation.Validation validation) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
getErrorObj()
Get the error object of this context
|
String |
getIdentity()
Get current authenticating identity
|
boolean |
isError()
Return the error status of this context
|
void |
setError(boolean error)
Sets the error status of this context
|
void |
setErrorObj(Object obj)
Sets the error object of this context
|
void |
setIdentity(String identity)
Sets current authenticating identity
|
leap.core.validation.Validation |
validation() |
protected leap.core.validation.Validation validation
protected boolean error
protected Object errorObj
protected String identity
public DefaultAuthenticateCredentialsContext(leap.core.validation.Validation validation)
public leap.core.validation.Validation validation()
validation 在接口中 leap.core.validation.ValidationContextpublic boolean isError()
CredentialsAuthenticationContextisError 在接口中 CredentialsAuthenticationContextpublic void setError(boolean error)
CredentialsAuthenticationContextsetError 在接口中 CredentialsAuthenticationContextpublic Object getErrorObj()
CredentialsAuthenticationContextgetErrorObj 在接口中 CredentialsAuthenticationContextpublic void setErrorObj(Object obj)
CredentialsAuthenticationContextsetErrorObj 在接口中 CredentialsAuthenticationContextpublic String getIdentity()
CredentialsAuthenticationContextgetIdentity 在接口中 CredentialsAuthenticationContextpublic void setIdentity(String identity)
CredentialsAuthenticationContextsetIdentity 在接口中 CredentialsAuthenticationContextCopyright © 2019. All rights reserved.