mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-10-24 02:22:32 +02:00
21 lines
996 B
XML
21 lines
996 B
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
|
||
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
||
|
xmlns:sec="http://www.springframework.org/schema/security"
|
||
|
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-3.1.xsd
|
||
|
http://www.springframework.org/schema/security
|
||
|
http://www.springframework.org/schema/security/spring-security-3.1.xsd">
|
||
|
|
||
|
<sec:authentication-manager alias="authenticationManager">
|
||
|
<sec:authentication-provider ref="dbAuthenticationProvider"/>
|
||
|
<sec:authentication-provider user-service-ref="userDetailsService"/>
|
||
|
</sec:authentication-manager>
|
||
|
|
||
|
<bean id="dbAuthenticationProvider" class="com.wisemapping.security.AuthenticationProvider">
|
||
|
<property name="userDetailsService" ref="userDetailsService"/>
|
||
|
<property name="encoder" ref="encoder"/>
|
||
|
</bean>
|
||
|
|
||
|
</beans>
|