Advertisement
Guest User

Untitled

a guest
Sep 6th, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. <beans:beans xmlns="http://www.springframework.org/schema/security"
  2. xmlns:beans="http://www.springframework.org/schema/beans"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://www.springframework.org/schema/beans
  5. http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
  6. http://www.springframework.org/schema/security
  7. http://www.springframework.org/schema/security/spring-security-4.1.xsd">
  8.  
  9.  
  10. <bean id="dataSource"
  11. class="org.springframework.jdbc.datasource.DriverManagerDataSource">
  12. <property name="driverClassName" value="com.mysql.jdbc.Driver" />
  13. <property name="url" value="jdbc:mysql://localhost:3306/InvoicerDatabase" />
  14. <property name="username" value="root" />
  15. <property name="password" value="Emakarena1" />
  16. </bean>
  17.  
  18. <http auto-config="true">
  19. </http>
  20.  
  21. <authentication-manager>
  22. <authentication-provider>
  23. <user-service>
  24. <user name="alicja" password="Emakarena" authorities="ROLE_USER" />
  25. </user-service>
  26. </authentication-provider>
  27. </authentication-manager>
  28.  
  29. </beans:beans>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement