SHARE
TWEET

Untitled

a guest Sep 20th, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <b:beans xmlns:b="http://www.springframework.org/schema/beans"
  3.          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4.          xmlns="http://www.springframework.org/schema/security"
  5.          xsi:schemaLocation="
  6.         http://www.springframework.org/schema/security
  7.         http://www.springframework.org/schema/security/spring-security.xsd
  8.         http://www.springframework.org/schema/beans
  9.        http://www.springframework.org/schema/beans/spring-beans.xsd">
  10.  
  11.     <http auto-config="true">
  12.         <intercept-url pattern="/" access="hasRole('ROLE_ADMIN')"/>
  13.     </http>
  14.     <authentication-manager>
  15.         <authentication-provider>
  16.             <user-service>
  17.                 <user name="admin" password="admin" authorities="ROLE_ADMIN" />
  18.             </user-service>
  19.         </authentication-provider>
  20.     </authentication-manager>
  21. </b:beans>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top