Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

CFID-403: [#35352705] separate CF login server from uaa

  • Loading branch information...
commit b92ecdad8dc0452e93708d04266e6c28a203030b 1 parent 5bd0f13
@dsyer dsyer authored daleolds committed
View
1  .gitignore
@@ -6,6 +6,7 @@ target/
*/src/main/java/META-INF/
*/src/main/webapp/META-INF/
*/src/main/*/WEB-INF/lib/
+src/main/resources/profiles/dev/
out/
.access_token
.result
View
7 src/main/java/org/cloudfoundry/identity/uaa/login/RemoteUaaController.java
@@ -220,6 +220,13 @@ public ModelAndView startAuthorization(HttpServletRequest request, @RequestParam
return passthru(request, entity, model);
}
+ @RequestMapping(value = { "/varz", "/varz/**", "/healthz" })
+ @ResponseBody
+ public ResponseEntity<byte[]> varz(HttpServletRequest request, HttpEntity<byte[]> entity,
+ Map<String, Object> model, SessionStatus sessionStatus) throws Exception {
+ return passthru(request, entity, model);
+ }
+
@ExceptionHandler(OAuth2Exception.class)
public ModelAndView handleOAuth2Exception(OAuth2Exception e, ServletWebRequest webRequest) throws Exception {
logger.info("OAuth2 error" + e.getSummary());
View
3  src/main/webapp/WEB-INF/spring-servlet.xml
@@ -25,6 +25,9 @@
<sec:http pattern="/resources/**" security="none" />
<sec:http pattern="/favicon.ico" security="none" />
+ <sec:http pattern="/varz/**" security="none" />
+ <sec:http pattern="/varz" security="none" />
+ <sec:http pattern="/healthz" security="none" />
<sec:http pattern="/login" security="none" />
<sec:http pattern="/login_info" security="none" />
<sec:http pattern="/oauth/token" security="none" />
Please sign in to comment.
Something went wrong with that request. Please try again.