Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <beans:beans xmlns="http://www.springframework.org/schema/security"
- xmlns:beans="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.springframework.org/schema/beans
- http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
- http://www.springframework.org/schema/security
- http://www.springframework.org/schema/security/spring-security-4.1.xsd">
- <bean id="dataSource"
- class="org.springframework.jdbc.datasource.DriverManagerDataSource">
- <property name="driverClassName" value="com.mysql.jdbc.Driver" />
- <property name="url" value="jdbc:mysql://localhost:3306/InvoicerDatabase" />
- <property name="username" value="root" />
- <property name="password" value="Emakarena1" />
- </bean>
- <http auto-config="true">
- </http>
- <authentication-manager>
- <authentication-provider>
- <user-service>
- <user name="alicja" password="Emakarena" authorities="ROLE_USER" />
- </user-service>
- </authentication-provider>
- </authentication-manager>
- </beans:beans>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement