org.acegisecurity.intercept.web
Class FilterInvocationDefinitionSourceEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.acegisecurity.intercept.web.FilterInvocationDefinitionSourceEditor
- All Implemented Interfaces:
- PropertyEditor
public class FilterInvocationDefinitionSourceEditor
- extends PropertyEditorSupport
Property editor to assist with the setup of a FilterInvocationDefinitionSource
.
The class creates and
populates a RegExpBasedFilterInvocationDefinitionMap
or PathBasedFilterInvocationDefinitionMap
(depending on the type of patterns presented).
By default the class treats presented patterns as regular expressions. If the keyword
PATTERN_TYPE_APACHE_ANT
is present (case sensitive), patterns will be treated as Apache Ant paths
rather than regular expressions.
- Version:
- $Id: FilterInvocationDefinitionSourceEditor.java 1784 2007-02-24 21:00:24Z luke_t $
- Author:
- Ben Alex
Methods inherited from class java.beans.PropertyEditorSupport |
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DIRECTIVE_CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
public static final String DIRECTIVE_CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
- See Also:
- Constant Field Values
DIRECTIVE_PATTERN_TYPE_APACHE_ANT
public static final String DIRECTIVE_PATTERN_TYPE_APACHE_ANT
- See Also:
- Constant Field Values
FilterInvocationDefinitionSourceEditor
public FilterInvocationDefinitionSourceEditor()
setAsText
public void setAsText(String s)
throws IllegalArgumentException
- Specified by:
setAsText
in interface PropertyEditor
- Overrides:
setAsText
in class PropertyEditorSupport
- Throws:
IllegalArgumentException
Copyright © 2004-2012 Interface21, Inc. All Rights Reserved.