<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "https://www.springframework.org/dtd/spring-beans.dtd">


<beans>

	<bean id="eventCheck" class="org.springframework.security.authentication.jaas.JaasEventCheck"/>

	<bean id="jaasAuthenticationProvider" class="org.springframework.security.authentication.jaas.JaasAuthenticationProvider">
		<property name="loginContextName">
			<value>JAASTest</value>
		</property>
		<property name="loginConfig">
			<value>classpath:org/springframework/security/authentication/jaas/login.conf</value>
		</property>
		<property name="callbackHandlers">
			<list>
				<bean class="org.springframework.security.authentication.jaas.TestCallbackHandler"/>
				<bean class="org.springframework.security.authentication.jaas.JaasNameCallbackHandler"/>
				<bean class="org.springframework.security.authentication.jaas.JaasPasswordCallbackHandler"/>
			</list>
		</property>
		<property name="authorityGranters">
			<list>
				<bean class="org.springframework.security.authentication.jaas.TestAuthorityGranter"/>
			</list>
		</property>
	</bean>
</beans>
