8 changed files with 150 additions and 1 deletions
@ -0,0 +1,19 @@
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<b:beans xmlns:b="http://www.springframework.org/schema/beans" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xmlns="http://www.springframework.org/schema/security" |
||||
xsi:schemaLocation=" |
||||
http://www.springframework.org/schema/security |
||||
https://www.springframework.org/schema/security/spring-security.xsd |
||||
http://www.springframework.org/schema/beans |
||||
https://www.springframework.org/schema/beans/spring-beans.xsd"> |
||||
|
||||
<http> |
||||
<intercept-url pattern="/admin/**" access="" /> |
||||
</http> |
||||
|
||||
<user-service> |
||||
<user name="user" password="{noop}password" authorities="ROLE_USER"/> |
||||
</user-service> |
||||
|
||||
</b:beans> |
||||
@ -0,0 +1,19 @@
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<b:beans xmlns:b="http://www.springframework.org/schema/beans" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xmlns="http://www.springframework.org/schema/security" |
||||
xsi:schemaLocation=" |
||||
http://www.springframework.org/schema/security |
||||
https://www.springframework.org/schema/security/spring-security.xsd |
||||
http://www.springframework.org/schema/beans |
||||
https://www.springframework.org/schema/beans/spring-beans.xsd"> |
||||
|
||||
<http use-authorization-manager="false"> |
||||
<intercept-url pattern="/admin/**" access=""/> |
||||
</http> |
||||
|
||||
<user-service> |
||||
<user name="user" password="{noop}password" authorities="ROLE_USER"/> |
||||
</user-service> |
||||
|
||||
</b:beans> |
||||
@ -0,0 +1,19 @@
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<b:beans xmlns:b="http://www.springframework.org/schema/beans" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xmlns="http://www.springframework.org/schema/security" |
||||
xsi:schemaLocation=" |
||||
http://www.springframework.org/schema/security |
||||
https://www.springframework.org/schema/security/spring-security.xsd |
||||
http://www.springframework.org/schema/beans |
||||
https://www.springframework.org/schema/beans/spring-beans.xsd"> |
||||
|
||||
<http> |
||||
<intercept-url pattern="/admin/**"/> |
||||
</http> |
||||
|
||||
<user-service> |
||||
<user name="user" password="{noop}password" authorities="ROLE_USER"/> |
||||
</user-service> |
||||
|
||||
</b:beans> |
||||
@ -0,0 +1,19 @@
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<b:beans xmlns:b="http://www.springframework.org/schema/beans" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xmlns="http://www.springframework.org/schema/security" |
||||
xsi:schemaLocation=" |
||||
http://www.springframework.org/schema/security |
||||
https://www.springframework.org/schema/security/spring-security.xsd |
||||
http://www.springframework.org/schema/beans |
||||
https://www.springframework.org/schema/beans/spring-beans.xsd"> |
||||
|
||||
<http use-authorization-manager="false"> |
||||
<intercept-url pattern="/admin/**"/> |
||||
</http> |
||||
|
||||
<user-service> |
||||
<user name="user" password="{noop}password" authorities="ROLE_USER"/> |
||||
</user-service> |
||||
|
||||
</b:beans> |
||||
@ -0,0 +1,20 @@
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<b:beans xmlns:b="http://www.springframework.org/schema/beans" |
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xmlns="http://www.springframework.org/schema/security" |
||||
xsi:schemaLocation=" |
||||
http://www.springframework.org/schema/security |
||||
https://www.springframework.org/schema/security/spring-security.xsd |
||||
http://www.springframework.org/schema/beans |
||||
https://www.springframework.org/schema/beans/spring-beans.xsd"> |
||||
|
||||
<http> |
||||
<intercept-url pattern="/admin/**" access="hasRole('ADMIN')" /> |
||||
<http-basic /> |
||||
</http> |
||||
|
||||
<user-service> |
||||
<user name="user" password="{noop}password" authorities="ROLE_USER"/> |
||||
</user-service> |
||||
|
||||
</b:beans> |
||||
Loading…
Reference in new issue