From e38b2b0ba544b4a51f7bf1bbddae98c37245a7c6 Mon Sep 17 00:00:00 2001 From: Justin Richer Date: Fri, 7 Dec 2012 17:16:03 -0500 Subject: [PATCH] shortened revocation endpoint url --- .../src/main/java/org/mitre/oauth2/web/RevocationEndpoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openid-connect-server/src/main/java/org/mitre/oauth2/web/RevocationEndpoint.java b/openid-connect-server/src/main/java/org/mitre/oauth2/web/RevocationEndpoint.java index 3f53779bd..064b2df3f 100644 --- a/openid-connect-server/src/main/java/org/mitre/oauth2/web/RevocationEndpoint.java +++ b/openid-connect-server/src/main/java/org/mitre/oauth2/web/RevocationEndpoint.java @@ -46,7 +46,7 @@ public class RevocationEndpoint { // TODO @PreAuthorize("hasRole('ROLE_ADMIN') or hasRole('ROLE_CLIENT')") - @RequestMapping("/oauth/revoke") + @RequestMapping("/revoke") public ModelAndView revoke(@RequestParam("token") String tokenValue, Principal principal, ModelAndView modelAndView) {