mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 06:07:57 +01:00
Fix unit tests.
This commit is contained in:
parent
6aadb5a363
commit
1c8f3bb203
@ -32,13 +32,10 @@
|
|||||||
|
|
||||||
<!-- Admin related services that required admin role-->
|
<!-- Admin related services that required admin role-->
|
||||||
<sec:http use-expressions="true" create-session="stateless" pattern="/service/**">
|
<sec:http use-expressions="true" create-session="stateless" pattern="/service/**">
|
||||||
<sec:csrf/>
|
<sec:csrf disabled="true"/>
|
||||||
|
|
||||||
<!-- Enabled only for cors -->
|
|
||||||
<sec:intercept-url pattern="/service/users" method="OPTIONS" access="permitAll"/>
|
<sec:intercept-url pattern="/service/users" method="OPTIONS" access="permitAll"/>
|
||||||
<sec:intercept-url pattern="/service/users/resetPassword" method="OPTIONS" access="permitAll"/>
|
<sec:intercept-url pattern="/service/users/resetPassword" method="OPTIONS" access="permitAll"/>
|
||||||
|
|
||||||
|
|
||||||
<sec:intercept-url pattern="/service/users/" method="POST" access="permitAll"/>
|
<sec:intercept-url pattern="/service/users/" method="POST" access="permitAll"/>
|
||||||
<sec:intercept-url pattern="/service/users/resetPassword" method="PUT" access="permitAll"/>
|
<sec:intercept-url pattern="/service/users/resetPassword" method="PUT" access="permitAll"/>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user