Fix misnamed role name.
[java-idp.git] / src / main / webapp / WEB-INF / web.xml
index 3335287..8d9f65a 100644 (file)
@@ -28,7 +28,7 @@
     
     <filter-mapping>
         <filter-name>IdPSessionFilter</filter-name>
-        <url-pattern>/*</url-pattern>
+        <url-pattern>/profile/*</url-pattern>
     </filter-mapping>
 
     <!-- Profile Request Dispatcher -->
             <http-method>POST</http-method>
         </web-resource-collection>
         <auth-constraint> 
-            <role-name>users</role-name> 
+            <role-name>user</role-name> 
         </auth-constraint>
         <user-data-constraint>
             <transport-guarantee>CONFIDENTIAL</transport-guarantee>
         </user-data-constraint>
     </security-constraint>
+    
+    <security-role>
+      <role-name>user</role-name>
+    </security-role> 
 -->
 
 <!-- Uncomment if you want BASIC auth managed by the container -->