<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="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-2.5.xsd">
	<bean id="authenticationService"
		class="anyframe.sample.struts.services.impl.DBAuthenticationServiceImpl">
		<property name="dataSource" ref="dataSource" />
		<property name="sqlQuery"
			value="SELECT u.USER_ID,u.USER_NAME,u.PASSWORD,u.ENABLED,a.AUTHORITY FROM USERS u, AUTHORITIES a WHERE u.USER_ID=? and u.PASSWORD=? and a.USER_ID = u.USER_ID" />
	</bean>
</beans>
