protected final class DefaultSecurityContextHolder.DefaultLoginContext extends DefaultSecurityContextHolder.AbstractContext implements LoginContext
| 限定符 | 构造器和说明 |
|---|---|
protected |
DefaultLoginContext() |
| 限定符和类型 | 方法和说明 |
|---|---|
leap.core.security.Authentication |
getAuthentication()
Optional.
|
String |
getAuthenticationToken()
Optional.
|
leap.core.security.Credentials |
getCredentials() |
String |
getLoginUrl() |
String |
getReturnUrl() |
SecuredPath |
getSecuredPath()
Optional.
|
leap.core.security.UserPrincipal |
getUser() |
boolean |
isAuthenticated() |
boolean |
isCredentialsResolved() |
void |
setAuthentication(leap.core.security.Authentication auth)
Sets current
Authentication |
void |
setAuthenticationToken(String token)
Sets the authentication token.
|
void |
setCredentials(leap.core.security.Credentials credentials) |
void |
setLoginUrl(String url) |
void |
setReturnUrl(String returnUrl) |
void |
setUser(leap.core.security.UserPrincipal user) |
getErrorObj, getIdentity, getSecurityConfig, getSecurityContext, isError, setError, setErrorObj, setIdentity, validationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSecurityConfig, getSecurityContextgetErrorObj, getIdentity, isError, setError, setErrorObj, setIdentitypublic String getAuthenticationToken()
AuthenticationContextgetAuthenticationToken 在接口中 AuthenticationContextpublic void setAuthenticationToken(String token)
AuthenticationContextsetAuthenticationToken 在接口中 AuthenticationContextpublic leap.core.security.Authentication getAuthentication()
AuthenticationContextAuthenticationgetAuthentication 在接口中 AuthenticationContextpublic void setAuthentication(leap.core.security.Authentication auth)
AuthenticationContextAuthenticationsetAuthentication 在接口中 AuthenticationContextpublic String getReturnUrl()
getReturnUrl 在接口中 LoginContextpublic void setReturnUrl(String returnUrl)
setReturnUrl 在接口中 LoginContextpublic String getLoginUrl()
getLoginUrl 在接口中 LoginContextpublic void setLoginUrl(String url)
setLoginUrl 在接口中 LoginContextpublic boolean isCredentialsResolved()
isCredentialsResolved 在接口中 LoginContextpublic leap.core.security.Credentials getCredentials()
getCredentials 在接口中 LoginContextpublic void setCredentials(leap.core.security.Credentials credentials)
setCredentials 在接口中 LoginContextpublic boolean isAuthenticated()
isAuthenticated 在接口中 LoginContextpublic leap.core.security.UserPrincipal getUser()
getUser 在接口中 LoginContextpublic void setUser(leap.core.security.UserPrincipal user)
setUser 在接口中 LoginContextpublic SecuredPath getSecuredPath()
AuthenticationContextgetSecuredPath 在接口中 AuthenticationContextCopyright © 2019. All rights reserved.