keycloak-uncached

Added module-name to web.xml - this is for correct context-path

8/2/2013 8:35:08 AM

Details

diff --git a/examples/as7-eap-demo/customer-app/src/main/webapp/WEB-INF/web.xml b/examples/as7-eap-demo/customer-app/src/main/webapp/WEB-INF/web.xml
index b25af94..3933152 100755
--- a/examples/as7-eap-demo/customer-app/src/main/webapp/WEB-INF/web.xml
+++ b/examples/as7-eap-demo/customer-app/src/main/webapp/WEB-INF/web.xml
@@ -3,6 +3,9 @@
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
       version="3.0">
+
+	<module-name>customer-portal</module-name>
+
     <security-constraint>
         <web-resource-collection>
             <web-resource-name>Admins</web-resource-name>
diff --git a/examples/as7-eap-demo/database-service/src/main/webapp/WEB-INF/web.xml b/examples/as7-eap-demo/database-service/src/main/webapp/WEB-INF/web.xml
index c19ce80..c77f70a 100755
--- a/examples/as7-eap-demo/database-service/src/main/webapp/WEB-INF/web.xml
+++ b/examples/as7-eap-demo/database-service/src/main/webapp/WEB-INF/web.xml
@@ -3,6 +3,9 @@
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
       version="3.0">
+
+	<module-name>database</module-name>
+	
     <security-constraint>
         <web-resource-collection>
             <url-pattern>/*</url-pattern>
diff --git a/examples/as7-eap-demo/product-app/src/main/webapp/WEB-INF/web.xml b/examples/as7-eap-demo/product-app/src/main/webapp/WEB-INF/web.xml
index c9bc655..dd17981 100755
--- a/examples/as7-eap-demo/product-app/src/main/webapp/WEB-INF/web.xml
+++ b/examples/as7-eap-demo/product-app/src/main/webapp/WEB-INF/web.xml
@@ -3,6 +3,9 @@
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
       version="3.0">
+
+	<module-name>product-portal</module-name>
+
     <security-constraint>
         <web-resource-collection>
             <web-resource-name>Admins</web-resource-name>
diff --git a/examples/as7-eap-demo/server/src/main/webapp/WEB-INF/web.xml b/examples/as7-eap-demo/server/src/main/webapp/WEB-INF/web.xml
index c6b4a52..4c6404b 100755
--- a/examples/as7-eap-demo/server/src/main/webapp/WEB-INF/web.xml
+++ b/examples/as7-eap-demo/server/src/main/webapp/WEB-INF/web.xml
@@ -3,6 +3,9 @@
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
       version="3.0">
+
+	<module-name>auth-server</module-name>
+
     <servlet>
         <servlet-name>Resteasy</servlet-name>
         <servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher</servlet-class>
diff --git a/examples/as7-eap-demo/third-party/src/main/webapp/WEB-INF/web.xml b/examples/as7-eap-demo/third-party/src/main/webapp/WEB-INF/web.xml
index 9273212..501b203 100755
--- a/examples/as7-eap-demo/third-party/src/main/webapp/WEB-INF/web.xml
+++ b/examples/as7-eap-demo/third-party/src/main/webapp/WEB-INF/web.xml
@@ -3,6 +3,9 @@
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
       version="3.0">
+
+	<module-name>oauth-client</module-name>
+
     <listener>
         <listener-class>org.jboss.resteasy.example.oauth.Bootstrap</listener-class>
     </listener>