org.springframework.security.intercept.web
Class FilterInvocationDefinitionSourceEditor

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.springframework.security.intercept.web.FilterInvocationDefinitionSourceEditor
All Implemented Interfaces:
java.beans.PropertyEditor

Deprecated. Use namespace configuration instead. May be removed in future versions.

public class FilterInvocationDefinitionSourceEditor
extends java.beans.PropertyEditorSupport

Property editor to assist with the setup of a FilterInvocationDefinitionSource.

Note that from version 2.0, the use of property-editor based configuration is deprecated in favour of namespace configuration options.

The class creates and populates a DefaultFilterInvocationDefinitionSource using either an Ant or Regular Expression URL matching strategy 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$
Author:
Ben Alex

Field Summary
static java.lang.String DIRECTIVE_CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
          Deprecated.  
static java.lang.String DIRECTIVE_PATTERN_TYPE_APACHE_ANT
          Deprecated.  
 
Constructor Summary
FilterInvocationDefinitionSourceEditor()
          Deprecated.  
 
Method Summary
 void setAsText(java.lang.String s)
          Deprecated.  
 
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
 

Field Detail

DIRECTIVE_CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON

public static final java.lang.String DIRECTIVE_CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
Deprecated. 
See Also:
Constant Field Values

DIRECTIVE_PATTERN_TYPE_APACHE_ANT

public static final java.lang.String DIRECTIVE_PATTERN_TYPE_APACHE_ANT
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

FilterInvocationDefinitionSourceEditor

public FilterInvocationDefinitionSourceEditor()
Deprecated. 
Method Detail

setAsText

public void setAsText(java.lang.String s)
               throws java.lang.IllegalArgumentException
Deprecated. 
Specified by:
setAsText in interface java.beans.PropertyEditor
Overrides:
setAsText in class java.beans.PropertyEditorSupport
Throws:
java.lang.IllegalArgumentException