protected abstract class DefaultSecurityContextHolder.AbstractContext extends Object implements AuthenticationContext
| 限定符 | 构造器和说明 |
|---|---|
protected |
AbstractContext() |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
getErrorObj()
Get the error object of this context
|
String |
getIdentity()
Get current authenticating identity
|
SecurityConfig |
getSecurityConfig()
Returns
SecurityConfig. |
leap.core.security.SecurityContext |
getSecurityContext()
Returns
SecurityContext |
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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAuthentication, getAuthenticationToken, getSecuredPath, setAuthentication, setAuthenticationTokenpublic SecurityConfig getSecurityConfig()
AuthenticationContextSecurityConfig.getSecurityConfig 在接口中 AuthenticationContextpublic leap.core.security.SecurityContext getSecurityContext()
AuthenticationContextSecurityContextgetSecurityContext 在接口中 AuthenticationContextpublic leap.core.validation.Validation validation()
validation 在接口中 leap.core.validation.ValidationContextpublic Object getErrorObj()
CredentialsAuthenticationContextgetErrorObj 在接口中 CredentialsAuthenticationContextpublic void setErrorObj(Object obj)
CredentialsAuthenticationContextsetErrorObj 在接口中 CredentialsAuthenticationContextpublic boolean isError()
CredentialsAuthenticationContextisError 在接口中 CredentialsAuthenticationContextpublic void setError(boolean error)
CredentialsAuthenticationContextsetError 在接口中 CredentialsAuthenticationContextpublic String getIdentity()
CredentialsAuthenticationContextgetIdentity 在接口中 CredentialsAuthenticationContextpublic void setIdentity(String identity)
CredentialsAuthenticationContextsetIdentity 在接口中 CredentialsAuthenticationContextCopyright © 2019. All rights reserved.