shortened revocation endpoint url
parent
fbc3c46128
commit
e38b2b0ba5
|
@ -46,7 +46,7 @@ public class RevocationEndpoint {
|
||||||
|
|
||||||
// TODO
|
// TODO
|
||||||
@PreAuthorize("hasRole('ROLE_ADMIN') or hasRole('ROLE_CLIENT')")
|
@PreAuthorize("hasRole('ROLE_ADMIN') or hasRole('ROLE_CLIENT')")
|
||||||
@RequestMapping("/oauth/revoke")
|
@RequestMapping("/revoke")
|
||||||
public ModelAndView revoke(@RequestParam("token") String tokenValue, Principal principal,
|
public ModelAndView revoke(@RequestParam("token") String tokenValue, Principal principal,
|
||||||
ModelAndView modelAndView) {
|
ModelAndView modelAndView) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue