Spring Security <http> and <intercept-url> template attributes
I saw Spring. OAuth2 security samples have this defined in spring-servlet.xml.
<http pattern="/users/**" create-session="never" entry-point-ref="oauthAuthenticationEntryPoint"
access-decision-manager-ref="accessDecisionManager" xmlns="http://www.springframework.org/schema/security">
<anonymous enabled="false" />
<intercept-url pattern="/photos" access="ROLE_USER,SCOPE_READ" />
<intercept-url pattern="/photos/trusted/**" access="ROLE_CLIENT,SCOPE_TRUST" />
<intercept-url pattern="/photos/user/**" access="ROLE_USER,SCOPE_TRUST" />
<intercept-url pattern="/photos/**" access="ROLE_USER,SCOPE_READ" />
<custom-filter ref="resourceServerFilter" before="PRE_AUTH_FILTER" />
<access-denied-handler ref="oauthAccessDeniedHandler" />
</http>
Is the attribute patternin the tag httpvalid? I could not find his definition in spring-security-2.0.1.xsd. If so, what is the relationship of this template with the attribute intercept-url pattern? Take, for example, does the interception route have a /photos/user/**final match interception path /users/photos/user/**? Thank.
+4