added .json mapping to SWD

pull/129/head
Justin Richer 12 years ago
parent 02da9fceed
commit 1b5f99efec

@ -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) {

Loading…
Cancel
Save