diff --git a/coffee-req/src/main/java/com/nice/coffee/web/WebController.java b/coffee-req/src/main/java/com/nice/coffee/web/WebController.java index d1ceb02..64fe779 100644 --- a/coffee-req/src/main/java/com/nice/coffee/web/WebController.java +++ b/coffee-req/src/main/java/com/nice/coffee/web/WebController.java @@ -60,4 +60,10 @@ protected void ping( response.getWriter().println("ping response: pong"); } + @RequestMapping("/secured/ping") + protected void securedPing( + HttpServletResponse response) throws Exception{ + log.info( "got to secured ping" ); + response.getWriter().println("secured ping response: pong"); + } } diff --git a/coffee-req/src/main/webapp/WEB-INF/spring-servlet.xml b/coffee-req/src/main/webapp/WEB-INF/spring-servlet.xml index 23e9e07..1c58bc4 100644 --- a/coffee-req/src/main/webapp/WEB-INF/spring-servlet.xml +++ b/coffee-req/src/main/webapp/WEB-INF/spring-servlet.xml @@ -23,6 +23,10 @@ + + @@ -30,16 +34,13 @@ - + - - - @@ -67,7 +68,7 @@ + class="com.ohadr.auth_flows.core.gae.GAEAuthenticationAccountRepositoryImpl" /> - + diff --git a/coffee-req/src/main/webapp/secure/index.html b/coffee-req/src/main/webapp/index.html similarity index 100% rename from coffee-req/src/main/webapp/secure/index.html rename to coffee-req/src/main/webapp/index.html diff --git a/coffee-req/src/main/webapp/secure/nespresso.js b/coffee-req/src/main/webapp/nespresso.js similarity index 100% rename from coffee-req/src/main/webapp/secure/nespresso.js rename to coffee-req/src/main/webapp/nespresso.js diff --git a/coffee-req/src/main/webapp/secure/style.css b/coffee-req/src/main/webapp/style.css similarity index 100% rename from coffee-req/src/main/webapp/secure/style.css rename to coffee-req/src/main/webapp/style.css