org.acegisecurity.util
Class FilterInvocationUtils
java.lang.Object
org.acegisecurity.util.FilterInvocationUtils
public class FilterInvocationUtils
- extends Object
Static utility methods for creating FilterInvocations usable within Acegi Security.
The generated
FilterInvocation objects are not intended for use with AbstractSecurityInterceptor
subclasses. Instead they are generally used by WebInvocationPrivilegeEvaluator.
- Version:
- $Id: FilterInvocationUtils.java 1496 2006-05-23 13:38:33Z benalex $
- Author:
- Ben Alex
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterInvocationUtils
public FilterInvocationUtils()
create
public static FilterInvocation create(String contextPath,
String uri)
- Creates a
FilterInvocation for the specified contextPath and Uri.
Note the normal subclasses of AbstractFilterInvocationDefinitionSource disregard the
contextPath when evaluating which secure object metadata applies to a given
FilterInvocation, so generally the contextPath is unimportant unless you are using a
custom FilterInvocationDefinitionSource.
- Parameters:
contextPath - the contextPath that will be contained within the
FilterInvocationHttpServletRequesturi - the URI of the request, such as /foo/default.jsp
- Returns:
- a fully-formed
FilterInvocation (never null)
- Throws:
UnsupportedOperationException - DOCUMENT ME!
create
public static FilterInvocation create(String uri)
- Creates a
FilterInvocation for the specified Uri. The contextPath
is set to a default value.
- Parameters:
uri - the URI of the request, such as /foo/default.jsp
- Returns:
- a fully-formed
FilterInvocation (never null)
Copyright © 2004-2006 Acegi Technology Pty Limited. All Rights Reserved.