<?xml version="1.0" encoding="UTF-8"?>
<b:beans xmlns:b="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns="http://www.springframework.org/schema/security"
	xmlns:c="http://www.springframework.org/schema/c"
	xsi:schemaLocation="http://www.springframework.org/schema/security https://www.springframework.org/schema/security/spring-security.xsd
		http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd">

	<http>
		<http-basic/>
		<intercept-url request-matcher-ref="matcherRef" access="denyAll"/>
		<intercept-url pattern="/**" access="permitAll"/>
	</http>

	<user-service>
		<user name="user" password="password" authorities="ROLE_USER"/>
	</user-service>

	<b:bean id="matcherRef" class="org.springframework.security.web.util.matcher.AntPathRequestMatcher"
		c:pattern="/foo"
		c:httpMethod="GET"
		c:caseSensitive="false"/>
</b:beans>
