クラス UrlAuthorizationConfigurer.StandardInterceptUrlRegistry
- java.lang.Object
-
- org.springframework.security.config.annotation.web.AbstractRequestMatcherRegistry<C>
-
- org.springframework.security.config.annotation.web.configurers.AbstractConfigAttributeRequestMatcherRegistry<T>
-
- org.springframework.security.config.annotation.web.configurers.AbstractInterceptUrlConfigurer.AbstractInterceptUrlRegistry<UrlAuthorizationConfigurer.StandardInterceptUrlRegistry,UrlAuthorizationConfigurer.AuthorizedUrl>
-
- org.springframework.security.config.annotation.web.configurers.UrlAuthorizationConfigurer.StandardInterceptUrlRegistry
- 含まれているクラス:
- UrlAuthorizationConfigurer<H extends HttpSecurityBuilder<H>>
public final class UrlAuthorizationConfigurer.StandardInterceptUrlRegistry extends AbstractInterceptUrlConfigurer.AbstractInterceptUrlRegistry<UrlAuthorizationConfigurer.StandardInterceptUrlRegistry,UrlAuthorizationConfigurer.AuthorizedUrl>
メソッドのサマリー
すべてのメソッド インスタンスメソッド 具象メソッド 修飾子と型 メソッド 説明 H
and()
protected UrlAuthorizationConfigurer.AuthorizedUrl
chainRequestMatchersInternal(java.util.List<RequestMatcher> requestMatchers)
サブクラスは、RequestMatcher
インスタンスの作成にチェーンされたオブジェクトを返すためにこのメソッドを実装する必要があります。UrlAuthorizationConfigurer.MvcMatchersAuthorizedUrl
mvcMatchers(java.lang.String... patterns)
どのHttpMethod
が使用されるかを気にしないMvcRequestMatcher
をマップします。UrlAuthorizationConfigurer.MvcMatchersAuthorizedUrl
mvcMatchers(org.springframework.http.HttpMethod method, java.lang.String... mvcPatterns)
一致する特定のHttpMethod
も指定するMvcRequestMatcher
をマップします。UrlAuthorizationConfigurer.StandardInterceptUrlRegistry
withObjectPostProcessor(ObjectPostProcessor<?> objectPostProcessor)
このクラスにObjectPostProcessor
を追加します。クラス org.springframework.security.config.annotation.web.configurers.AbstractInterceptUrlConfigurer.AbstractInterceptUrlRegistry から継承されたメソッド
accessDecisionManager, filterSecurityInterceptorOncePerRequest
クラス 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 UrlAuthorizationConfigurer.MvcMatchersAuthorizedUrl mvcMatchers(org.springframework.http.HttpMethod method, java.lang.String... mvcPatterns)
クラスからコピーされた説明:AbstractRequestMatcherRegistry
一致する特定の
HttpMethod
も指定するMvcRequestMatcher
をマップします。このマッチャーは、Spring MVC がマッチングに使用するのと同じルールを使用します。例: 多くの場合、パス "/path" のマッピングは "/path","/path/","/path.html" などで一致します。現在のリクエストが Spring MVC によって処理されない場合、パターンを ant パターンとして使用する妥当なデフォルトが使用されます。
- 次で指定:
- クラス
AbstractRequestMatcherRegistry<UrlAuthorizationConfigurer.AuthorizedUrl>
のmvcMatchers
- パラメーター:
method
- 照合する HTTP メソッドmvcPatterns
- 一致するパターン。マッチングのルールは Spring MVC によって定義されます- 戻り値:
RequestMatcher
の作成後にチェーンされるオブジェクト
mvcMatchers
public UrlAuthorizationConfigurer.MvcMatchersAuthorizedUrl mvcMatchers(java.lang.String... patterns)
クラスからコピーされた説明:AbstractRequestMatcherRegistry
どの
HttpMethod
が使用されているかを考慮しないMvcRequestMatcher
をマップします。このマッチャーは、Spring MVC がマッチングに使用するのと同じルールを使用します。例: 多くの場合、パス "/path" のマッピングは "/path","/path/","/path.html" などで一致します。現在のリクエストが Spring MVC によって処理されない場合、パターンを ant パターンとして使用する妥当なデフォルトが使用されます。
- 次で指定:
- クラス
AbstractRequestMatcherRegistry<UrlAuthorizationConfigurer.AuthorizedUrl>
のmvcMatchers
- パラメーター:
patterns
- 一致するパターン。マッチングのルールは Spring MVC によって定義されます- 戻り値:
RequestMatcher
の作成後にチェーンされるオブジェクト
chainRequestMatchersInternal
protected UrlAuthorizationConfigurer.AuthorizedUrl chainRequestMatchersInternal(java.util.List<RequestMatcher> requestMatchers)
クラスからコピーされた説明:AbstractConfigAttributeRequestMatcherRegistry
サブクラスは、RequestMatcher
インスタンスの作成にチェーンされたオブジェクトを返すためにこのメソッドを実装する必要があります。- 次で指定:
- クラス
AbstractConfigAttributeRequestMatcherRegistry<UrlAuthorizationConfigurer.AuthorizedUrl>
のchainRequestMatchersInternal
- パラメーター:
requestMatchers
- 作成されたRequestMatcher
インスタンス- 戻り値:
RequestMatcher
への何かの関連付けを可能にするサブクラスのチェーンオブジェクト
withObjectPostProcessor
public UrlAuthorizationConfigurer.StandardInterceptUrlRegistry withObjectPostProcessor(ObjectPostProcessor<?> objectPostProcessor)
このクラスにObjectPostProcessor
を追加します。- パラメーター:
objectPostProcessor
-- 戻り値:
- さらにカスタマイズするための
ExpressionUrlAuthorizationConfigurer
and
public H and()