public class TokenKeyEndpoint extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
TokenKeyEndpoint(JwtAccessTokenConverter converter) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getKey(Principal principal)
Get the verification key for the token signatures.
|
public TokenKeyEndpoint(JwtAccessTokenConverter converter)
@RequestMapping(value="/oauth/token_key",
method=GET)
@ResponseBody
public Map<String,String> getKey(Principal principal)
principal - the currently authenticated user if there is oneCopyright © 2016. All rights reserved.