public abstract class AuthenticationTokens extends Object
Modifier and Type | Method and Description |
---|---|
static org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationToken |
authenticated(org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationToken authentication) |
static String |
rawToken(org.springframework.security.core.Authentication authentication,
cn.home1.oss.lib.webmvc.api.TypeSafeToken<GenericUser> token) |
static String |
tokenFromSecurityContext(cn.home1.oss.lib.webmvc.api.TypeSafeToken<GenericUser> token) |
static Boolean |
tokenInSecurityContext() |
public static org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationToken authenticated(org.springframework.security.web.authentication.preauth.PreAuthenticatedAuthenticationToken authentication)
public static String rawToken(org.springframework.security.core.Authentication authentication, cn.home1.oss.lib.webmvc.api.TypeSafeToken<GenericUser> token)
public static Boolean tokenInSecurityContext()
public static String tokenFromSecurityContext(cn.home1.oss.lib.webmvc.api.TypeSafeToken<GenericUser> token)
Copyright © 2017. All rights reserved.