1 |
46632
|
katerina.i
|
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
|
|
<beans:beans xmlns="http://www.springframework.org/schema/security"
|
3 |
|
|
xmlns:beans="http://www.springframework.org/schema/beans"
|
4 |
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
5 |
|
|
xmlns:security="http://www.springframework.org/schema/security"
|
6 |
|
|
xsi:schemaLocation="
|
7 |
|
|
http://www.springframework.org/schema/beans
|
8 |
|
|
http://www.springframework.org/schema/beans/spring-beans.xsd
|
9 |
|
|
|
10 |
|
|
http://www.springframework.org/schema/security
|
11 |
|
|
http://www.springframework.org/schema/security/spring-security.xsd">
|
12 |
|
|
|
13 |
|
|
<!-- Stateless RESTful services use BASIC authentication -->
|
14 |
47651
|
sofia.balt
|
<!--<security:http create-session="stateless" pattern="/rest/**">
|
15 |
|
|
<security:intercept-url pattern="/**" access="ROLE_REST"/>
|
16 |
46632
|
katerina.i
|
<security:http-basic/>
|
17 |
|
|
</security:http>
|
18 |
|
|
|
19 |
|
|
|
20 |
47651
|
sofia.balt
|
<security:authentication-manager>
|
21 |
|
|
<security:authentication-provider>
|
22 |
|
|
<security:user-service>
|
23 |
|
|
<security:user name="rest" password="rest" authorities="ROLE_REST"/>
|
24 |
|
|
</security:user-service>
|
25 |
|
|
</security:authentication-provider>
|
26 |
|
|
</security:authentication-manager>
|
27 |
|
|
-->
|
28 |
46632
|
katerina.i
|
<!--
|
29 |
|
|
<authentication-manager alias="authenticationManager">
|
30 |
|
|
<authentication-provider ref="jwtAuthenticationProvider" /> (8)
|
31 |
|
|
</authentication-manager>
|
32 |
47651
|
sofia.balt
|
|
33 |
46632
|
katerina.i
|
-->
|
34 |
|
|
</beans:beans>
|