public interface AuthenticationManager
| 限定符和类型 | 方法和说明 |
|---|---|
leap.core.security.Authentication |
authenticate(CredentialsAuthenticationContext authenticationContext,
leap.core.security.Credentials credentials)
Authenticates the given
Credentials and return the Authentication as result. |
leap.core.security.UserPrincipal |
createAnonymous(Request request,
Response response,
AuthenticationContext context)
Creates a new anonymous user principal.
|
void |
loginImmediately(Request request,
Response response,
leap.core.security.Authentication authentication)
Save the authentication immediately.
|
void |
logoutImmediately(Request request,
Response response)
Destroy current authentication immediately.
|
leap.core.security.Authentication |
resolveAuthentication(Request request,
Response response,
AuthenticationContext context)
Resolves the
Authentication from the request. |
leap.core.security.Authentication resolveAuthentication(Request request, Response response, AuthenticationContext context) throws Throwable
Authentication from the request.Throwableleap.core.security.Authentication authenticate(CredentialsAuthenticationContext authenticationContext, leap.core.security.Credentials credentials)
Credentials and return the Authentication as result.
Returns null if the given Credentials invalid.
leap.core.security.UserPrincipal createAnonymous(Request request, Response response, AuthenticationContext context)
void loginImmediately(Request request, Response response, leap.core.security.Authentication authentication)
Copyright © 2019. All rights reserved.