Please help me! Why my logout filter doesn't work? It is not redirecting me to logout.htm. But if i put it redirect to <http> section, it works
Code:
<?xml version="1.0" encoding="UTF-8"?>

<beans:beans xmlns="http://www.springframework.org/schema/security"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jdbc="http://www.springframework.org/schema/jdbc"
	xmlns:beans="http://www.springframework.org/schema/beans"
	xsi:schemaLocation="http://www.springframework.org/schema/beans
								 http://www.springframework.org/schema/beans/spring-beans.xsd
						         http://www.springframework.org/schema/jdbc
        						 http://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd
								 http://www.springframework.org/schema/security
								 http://www.springframework.org/schema/security/spring-security-3.0.xsd">
	<http use-expressions="true">
		<intercept-url pattern="/home.htm" access="hasRole('ROLE_CANDIDATE')"
			requires-channel="https" />
		<intercept-url pattern="/*" access="permitAll"
			requires-channel="https" />
		<logout />
		<form-login default-target-url="/home.htm" />

	</http>

	<beans:bean id="logoutHandler" class="business.service.UserLogoutHandler" />
	<beans:bean id="logoutFilter"
		class="org.springframework.security.web.authentication.logout.LogoutFilter">

		<beans:constructor-arg value="/logout.htm" />
		<beans:constructor-arg>
			<beans:list>
				<beans:ref bean="logoutHandler" />
			</beans:list>
		</beans:constructor-arg>
	
	</beans:bean>

	<beans:bean id="userLoginService" class="business.service.UserLoginService" />
	<authentication-manager>
		<authentication-provider user-service-ref="userLoginService" />
	</authentication-manager>
</beans:beans>