クラス ChannelSecurityConfigurer.ChannelRequestMatcherRegistry
- java.lang.Object
-
- org.springframework.security.config.annotation.web.AbstractRequestMatcherRegistry<C>
-
- org.springframework.security.config.annotation.web.configurers.AbstractConfigAttributeRequestMatcherRegistry<ChannelSecurityConfigurer.RequiresChannelUrl>
-
- org.springframework.security.config.annotation.web.configurers.ChannelSecurityConfigurer.ChannelRequestMatcherRegistry
- 含まれているクラス:
- ChannelSecurityConfigurer<H extends HttpSecurityBuilder<H>>
public final class ChannelSecurityConfigurer.ChannelRequestMatcherRegistry extends AbstractConfigAttributeRequestMatcherRegistry<ChannelSecurityConfigurer.RequiresChannelUrl>
メソッドのサマリー
クラス org.springframework.security.config.annotation.web.configurers.AbstractConfigAttributeRequestMatcherRegistry から継承されたメソッド
chainRequestMatchers
クラス org.springframework.security.config.annotation.web.AbstractRequestMatcherRegistry から継承されたメソッド
antMatchers, antMatchers, antMatchers, anyRequest, createMvcMatchers, dispatcherTypeMatchers, dispatcherTypeMatchers, getApplicationContext, regexMatchers, regexMatchers, requestMatchers, setApplicationContext
メソッドの詳細
mvcMatchers
public ChannelSecurityConfigurer.MvcMatchersRequiresChannelUrl mvcMatchers(org.springframework.http.HttpMethod method, java.lang.String... mvcPatterns)
クラスからコピーされた説明:AbstractRequestMatcherRegistry
一致する特定の
HttpMethod
も指定するMvcRequestMatcher
をマップします。このマッチャーは、Spring MVC がマッチングに使用するのと同じルールを使用します。例: 多くの場合、パス "/path" のマッピングは "/path","/path/","/path.html" などで一致します。現在のリクエストが Spring MVC によって処理されない場合、パターンを ant パターンとして使用する妥当なデフォルトが使用されます。
- 次で指定:
- クラス
AbstractRequestMatcherRegistry<ChannelSecurityConfigurer.RequiresChannelUrl>
のmvcMatchers
- パラメーター:
method
- 照合する HTTP メソッドmvcPatterns
- 一致するパターン。マッチングのルールは Spring MVC によって定義されます- 戻り値:
RequestMatcher
の作成後にチェーンされるオブジェクト
mvcMatchers
public ChannelSecurityConfigurer.MvcMatchersRequiresChannelUrl mvcMatchers(java.lang.String... patterns)
クラスからコピーされた説明:AbstractRequestMatcherRegistry
どの
HttpMethod
が使用されているかを考慮しないMvcRequestMatcher
をマップします。このマッチャーは、Spring MVC がマッチングに使用するのと同じルールを使用します。例: 多くの場合、パス "/path" のマッピングは "/path","/path/","/path.html" などで一致します。現在のリクエストが Spring MVC によって処理されない場合、パターンを ant パターンとして使用する妥当なデフォルトが使用されます。
- 次で指定:
- クラス
AbstractRequestMatcherRegistry<ChannelSecurityConfigurer.RequiresChannelUrl>
のmvcMatchers
- パラメーター:
patterns
- 一致するパターン。マッチングのルールは Spring MVC によって定義されます- 戻り値:
RequestMatcher
の作成後にチェーンされるオブジェクト
chainRequestMatchersInternal
protected ChannelSecurityConfigurer.RequiresChannelUrl chainRequestMatchersInternal(java.util.List<RequestMatcher> requestMatchers)
クラスからコピーされた説明:AbstractConfigAttributeRequestMatcherRegistry
サブクラスは、RequestMatcher
インスタンスの作成にチェーンされたオブジェクトを返すためにこのメソッドを実装する必要があります。- 次で指定:
- クラス
AbstractConfigAttributeRequestMatcherRegistry<ChannelSecurityConfigurer.RequiresChannelUrl>
のchainRequestMatchersInternal
- パラメーター:
requestMatchers
- 作成されたRequestMatcher
インスタンス- 戻り値:
RequestMatcher
への何かの関連付けを可能にするサブクラスのチェーンオブジェクト
withObjectPostProcessor
public ChannelSecurityConfigurer.ChannelRequestMatcherRegistry withObjectPostProcessor(ObjectPostProcessor<?> objectPostProcessor)
このクラスにObjectPostProcessor
を追加します。- パラメーター:
objectPostProcessor
-- 戻り値:
- さらにカスタマイズするための
ChannelSecurityConfigurer
channelProcessors
public ChannelSecurityConfigurer.ChannelRequestMatcherRegistry channelProcessors(java.util.List<ChannelProcessor> channelProcessors)
ChannelDecisionManagerImpl
で使用するChannelProcessor
インスタンスを設定します- パラメーター:
channelProcessors
-- 戻り値:
- さらにカスタマイズするための
ChannelSecurityConfigurer
redirectStrategy
public ChannelSecurityConfigurer.ChannelRequestMatcherRegistry redirectStrategy(RedirectStrategy redirectStrategy)
- パラメーター:
redirectStrategy
-- 戻り値:
- さらにカスタマイズするための
ChannelSecurityConfigurer
and
public H and()
SecurityConfigurer
を使用して完了したら、SecurityBuilder
を返します。これはメソッドの連鎖に役立ちます。- 戻り値:
- 構成されている
HttpSecurityBuilder
の型