]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
DRYD-169: Change password reset and publicitems url access to permitAll.
authorRay Lee <rhlee@berkeley.edu>
Fri, 8 Dec 2017 05:17:21 +0000 (21:17 -0800)
committerRay Lee <rhlee@berkeley.edu>
Fri, 8 Dec 2017 05:17:21 +0000 (21:17 -0800)
services/JaxRsServiceProvider/src/main/webapp/WEB-INF/applicationContext-security.xml

index 53bd28b0a4062de006962f2d673015d50e9a57c3..6587e9e35a96be9e4ee4d9438b06e9368d15675f 100644 (file)
 
     <sec:http realm="org.collectionspace.services" create-session="stateless" authentication-manager-ref="userAuthenticationManager">
         <!-- Exclude the resource path to public items' content from AuthN and AuthZ. Lets us publish resources with anonymous access. -->
-        <sec:intercept-url pattern="/publicitems/*/*/content" access="isAnonymous()" />
-        
+        <sec:intercept-url pattern="/publicitems/*/*/content" access="permitAll" />
+
         <!-- Exclude the resource path to handle an account password reset request from AuthN and AuthZ. Lets us process password resets anonymous access. -->
-        <sec:intercept-url pattern="/accounts/requestpasswordreset" access="isAnonymous()" />
-        
+        <sec:intercept-url pattern="/accounts/requestpasswordreset" access="permitAll" />
+
         <!-- Exclude the resource path to account process a password resets from AuthN and AuthZ. Lets us process password resets anonymous access. -->
-        <sec:intercept-url pattern="/accounts/processpasswordreset" access="isAnonymous()" />
+        <sec:intercept-url pattern="/accounts/processpasswordreset" access="permitAll" />
 
         <!-- All other paths must be authenticated. -->
         <sec:intercept-url pattern="/**" access="isFullyAuthenticated()" />
-        
+
         <sec:http-basic />
         <sec:anonymous username="anonymous" />
         <sec:csrf disabled="true" />