public class TokenKeyEndpoint extends Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
TokenKeyEndpoint(JwtAccessTokenConverter converter) |
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 © 2019. All rights reserved.