Fix misnamed role name.
[java-idp.git] / src / main / webapp / WEB-INF / web.xml
index c016192..8d9f65a 100644 (file)
     <listener>
         <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
     </listener>
-    
-    <listener>
-        <listener-class>edu.internet2.middleware.shibboleth.idp.session.ContainerSessionListener</listener-class>
-    </listener>
 
     <!--  Add IdP Session object to incoming profile requests -->
     <filter>
@@ -32,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>