Spring Security Framework

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:
PropertyEditor

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

public class FilterInvocationDefinitionSourceEditor
extends 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 String DIRECTIVE_CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
          Deprecated.  
static String DIRECTIVE_PATTERN_TYPE_APACHE_ANT
          Deprecated.  
 
Constructor Summary
FilterInvocationDefinitionSourceEditor()
          Deprecated.  
 
Method Summary
 void setAsText(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 String DIRECTIVE_CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
Deprecated. 
See Also:
Constant Field Values

DIRECTIVE_PATTERN_TYPE_APACHE_ANT

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

FilterInvocationDefinitionSourceEditor

public FilterInvocationDefinitionSourceEditor()
Deprecated. 
Method Detail

setAsText

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

Spring Security Framework

Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.