From 1b5f99efec90edcd5642e8c7b9116011bcb00e22 Mon Sep 17 00:00:00 2001 From: Justin Richer Date: Tue, 31 Jul 2012 10:42:42 -0400 Subject: [PATCH] added .json mapping to SWD --- .../main/java/org/mitre/swd/web/SimpleWebDiscoveryEndpoint.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openid-connect-server/src/main/java/org/mitre/swd/web/SimpleWebDiscoveryEndpoint.java b/openid-connect-server/src/main/java/org/mitre/swd/web/SimpleWebDiscoveryEndpoint.java index eb9599d68..8405a9dab 100644 --- a/openid-connect-server/src/main/java/org/mitre/swd/web/SimpleWebDiscoveryEndpoint.java +++ b/openid-connect-server/src/main/java/org/mitre/swd/web/SimpleWebDiscoveryEndpoint.java @@ -56,7 +56,7 @@ public class SimpleWebDiscoveryEndpoint { return modelAndView; } - @RequestMapping(value="/.well-known/host-meta", + @RequestMapping(value={"/.well-known/host-meta", "/.well-known/host-meta.json"}, params={"resource", "rel=http://openid.net/specs/connect/1.0/issuer"}) public ModelAndView xrdDiscovery(@RequestParam("resource") String resource, ModelAndView modelAndView) {