@Service public class TokenService extends Object
| Constructor and Description |
|---|
TokenService() |
| Modifier and Type | Method and Description |
|---|---|
com.nimbusds.jwt.JWTClaimsSet |
checkBearerToken(String token) |
List<String> |
extractRoles(com.nimbusds.jwt.JWTClaimsSet claimSet) |
org.springframework.security.core.Authentication |
getAuthentication(javax.servlet.http.HttpServletRequest request) |
void |
postConstruct() |
@PostConstruct public void postConstruct()
public org.springframework.security.core.Authentication getAuthentication(javax.servlet.http.HttpServletRequest request)
public com.nimbusds.jwt.JWTClaimsSet checkBearerToken(String token)
Copyright © 2017. All rights reserved.