@@ -29,20 +29,28 @@ public interface WebInvocationPrivilegeEvaluator {
2929 /**
3030 * Determines whether the user represented by the supplied <tt>Authentication</tt>
3131 * object is allowed to invoke the supplied URI.
32+ * <p>
33+ * Note this will only match authorization rules that don't require a certain
34+ * {@code HttpMethod}.
3235 * @param uri the URI excluding the context path (a default context path setting will
3336 * be used)
3437 */
3538 boolean isAllowed (String uri , Authentication authentication );
3639
3740 /**
3841 * Determines whether the user represented by the supplied <tt>Authentication</tt>
39- * object is allowed to invoke the supplied URI, with the given .
42+ * object is allowed to invoke the supplied URI, with the given parameters .
4043 * <p>
41- * Note the default implementation of <tt>FilterInvocationSecurityMetadataSource</tt>
44+ * Note:
45+ * <ul>
46+ * <li>The default implementation of <tt>FilterInvocationSecurityMetadataSource</tt>
4247 * disregards the <code>contextPath</code> when evaluating which secure object
4348 * metadata applies to a given request URI, so generally the <code>contextPath</code>
4449 * is unimportant unless you are using a custom
45- * <code>FilterInvocationSecurityMetadataSource</code>.
50+ * <code>FilterInvocationSecurityMetadataSource</code>.</li>
51+ * <li>this will only match authorization rules that don't require a certain
52+ * {@code HttpMethod}.</li>
53+ * </ul>
4654 * @param uri the URI excluding the context path
4755 * @param contextPath the context path (may be null).
4856 * @param method the HTTP method (or null, for any method)
0 commit comments