org.springframework.security.web.util
Class RequestMatcherEditor

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

public class RequestMatcherEditor
extends PropertyEditorSupport

PropertyEditor which creates ELRequestMatcher instances from Strings This allows to use a String in a BeanDefinition instead of an (inner) bean if a RequestMatcher is required, e.g. in DelegatingAuthenticationEntryPoint

Since:
3.0.2

Constructor Summary
RequestMatcherEditor()
           
 
Method Summary
 void setAsText(String text)
           
 
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
 

Constructor Detail

RequestMatcherEditor

public RequestMatcherEditor()
Method Detail

setAsText

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