Class PathPatternMessageMatcherBuilderFactoryBean

java.lang.Object
org.springframework.security.config.web.messaging.PathPatternMessageMatcherBuilderFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<org.springframework.security.messaging.util.matcher.PathPatternMessageMatcher.Builder>

public final class PathPatternMessageMatcherBuilderFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<org.springframework.security.messaging.util.matcher.PathPatternMessageMatcher.Builder>
Use this factory bean to configure the PathPatternMessageMatcher.Builder bean used to create request matchers in MessageMatcherDelegatingAuthorizationManager and other parts of the DSL.
Since:
6.5
  • Constructor Details

    • PathPatternMessageMatcherBuilderFactoryBean

      public PathPatternMessageMatcherBuilderFactoryBean()
      Create PathPatternMessageMatchers using PathPatternParser.defaultInstance
    • PathPatternMessageMatcherBuilderFactoryBean

      public PathPatternMessageMatcherBuilderFactoryBean(org.springframework.web.util.pattern.PathPatternParser parser)
      Create PathPatternMessageMatchers using the given PathPatternParser
      Parameters:
      parser - the PathPatternParser to use
  • Method Details

    • getObject

      public org.springframework.security.messaging.util.matcher.PathPatternMessageMatcher.Builder getObject() throws Exception
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<org.springframework.security.messaging.util.matcher.PathPatternMessageMatcher.Builder>
      Throws:
      Exception
    • getObjectType

      public Class<?> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<org.springframework.security.messaging.util.matcher.PathPatternMessageMatcher.Builder>