Package | Description |
---|---|
cn.home1.oss.lib.security.api | |
cn.home1.oss.lib.security.internal | |
cn.home1.oss.lib.security.internal.rest | |
cn.home1.oss.lib.security.starter |
Modifier and Type | Method and Description |
---|---|
GenericUser |
BaseUserDetailsAuthenticationProvider.findEverywhere(String username) |
protected GenericUser |
BaseUserDetailsAuthenticationProvider.findSecurityUser(String username) |
static GenericUser |
GenericUser.fromPrincipal(Principal principal) |
static GenericUser |
GenericUser.fromUser(User user) |
static GenericUser |
GenericUser.unknownUser() |
Modifier and Type | Method and Description |
---|---|
static Optional<GenericUser> |
GenericUser.fromSecurityContext() |
Modifier and Type | Method and Description |
---|---|
static boolean |
GenericUser.isGenericUserLogin(GenericUser genericUser) |
Modifier and Type | Method and Description |
---|---|
static String |
AuthenticationTokens.rawToken(org.springframework.security.core.Authentication authentication,
cn.home1.oss.lib.webmvc.api.TypeSafeToken<GenericUser> token) |
static String |
AuthenticationTokens.tokenFromSecurityContext(cn.home1.oss.lib.webmvc.api.TypeSafeToken<GenericUser> token) |
Modifier and Type | Method and Description |
---|---|
static RestfulAuthenticationSuccessHandler |
RestfulAuthenticationSuccessHandler.restfulSuccessHandler(cn.home1.oss.lib.webmvc.api.TypeSafeCookie<GenericUser> cookie,
cn.home1.oss.lib.errorhandle.internal.RestfulExceptionHandler exceptionHandler,
cn.home1.oss.lib.webmvc.internal.DefaultHttpEntityMethodProcessor httpEntityMethodProcessor,
cn.home1.oss.lib.webmvc.api.TypeSafeToken<GenericUser> token) |
static RestfulAuthenticationSuccessHandler |
RestfulAuthenticationSuccessHandler.restfulSuccessHandler(cn.home1.oss.lib.webmvc.api.TypeSafeCookie<GenericUser> cookie,
cn.home1.oss.lib.errorhandle.internal.RestfulExceptionHandler exceptionHandler,
cn.home1.oss.lib.webmvc.internal.DefaultHttpEntityMethodProcessor httpEntityMethodProcessor,
cn.home1.oss.lib.webmvc.api.TypeSafeToken<GenericUser> token) |
Modifier and Type | Method and Description |
---|---|
cn.home1.oss.lib.webmvc.api.TypeSafeCookie<GenericUser> |
PreAuthConfiguration.genericUserCookie() |
cn.home1.oss.lib.webmvc.api.TypeSafeToken<GenericUser> |
PreAuthConfiguration.genericUserToken() |
Copyright © 2017. All rights reserved.