config/src/main/java/org/springframework/security/config/annotation/web/messaging/MessageSecurityMetadataSourceRegistry.java
public MessageSecurityMetadataSourceRegistry simpDestPathMatcher(
			PathMatcher pathMatcher) {
		Assert.notNull(pathMatcher, "pathMatcher cannot be null");
		this.pathMatcher.setPathMatcher(pathMatcher);
		this.defaultPathMatcher = false;
		return this;
	}
public MessageSecurityMetadataSourceRegistry simpDestPathMatcher(
			PathMatcher pathMatcher) {
		Assert.notNull(pathMatcher, "pathMatcher cannot be null");
		this.pathMatcher.setPathMatcher(pathMatcher);
		this.defaultPathMatcher = false;
		return this;
	}
public MessageSecurityMetadataSourceRegistry simpDestPathMatcher ( PathMatcher pathMatcher ) { Assert . notNull ( pathMatcher , "pathMatcher cannot be null" ) ; this . pathMatcher . setPathMatcher ( pathMatcher ) ; this . defaultPathMatcher = false ; return this ; }
The {@link PathMatcher} to be used with the
{@link MessageSecurityMetadataSourceRegistry#simpDestMatchers(String...)}. The
default is to use the default constructor of {@link AntPathMatcher}.

@param pathMatcher the {@link PathMatcher} to use. Cannot be null.
@return the {@link MessageSecurityMetadataSourceRegistry} for further
customization.
The { @link PathMatcher } to be used with the { @link MessageSecurityMetadataSourceRegistry#simpDestMatchers ( String ... ) } . The default is to use the default constructor of { @link AntPathMatcher } .