|
Spring Security Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.security.util.FilterInvocationUtils
public final class FilterInvocationUtils
Static utility methods for creating FilterInvocation
s usable within Spring Security.
The generated
FilterInvocation
objects are not intended for use with AbstractSecurityInterceptor
subclasses. Instead they are generally used by WebInvocationPrivilegeEvaluator
.
Method Summary | |
---|---|
static FilterInvocation |
create(String uri)
Creates a FilterInvocation for the specified Uri . |
static FilterInvocation |
create(String contextPath,
String uri)
Creates a FilterInvocation for the specified contextPath and Uri . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static FilterInvocation create(String contextPath, String uri)
FilterInvocation
for the specified contextPath
and Uri
.
Note the normal subclasses of DefaultFilterInvocationDefinitionSource
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
.
contextPath
- the contextPath
that will be contained within the
FilterInvocation
HttpServletRequest
uri
- the URI of the request, such as /foo/default.jsp
FilterInvocation
(never null
)
UnsupportedOperationException
- DOCUMENT ME!public static FilterInvocation create(String uri)
FilterInvocation
for the specified Uri
. The contextPath
is set to a default value.
uri
- the URI of the request, such as /foo/default.jsp
FilterInvocation
(never null
)
|
Spring Security Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |