クラス UrlAuthorizationConfigurer.StandardInterceptUrlRegistry
- 含まれているクラス:
- UrlAuthorizationConfigurer<H extends HttpSecurityBuilder<H>>
メソッドのサマリー
修飾子と型メソッド説明and()
protected UrlAuthorizationConfigurer<H>.AuthorizedUrl
chainRequestMatchersInternal
(ListSE<RequestMatcher> requestMatchers) サブクラスは、RequestMatcher
インスタンスの作成にチェーンされたオブジェクトを返すためにこのメソッドを実装する必要があります。requestMatchers
(StringSE... patterns) requestMatchers
(org.springframework.http.HttpMethod method) requestMatchers
(org.springframework.http.HttpMethod method, StringSE... patterns) requestMatchers
(RequestMatcher... requestMatchers) RequestMatcher
インスタンスのリストをAbstractConfigAttributeRequestMatcherRegistry
に関連付けます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 から継承されたメソッド
anyRequest, createMvcMatchers, dispatcherTypeMatchers, dispatcherTypeMatchers, getApplicationContext, setApplicationContext
メソッドの詳細
requestMatchers
クラスからコピーされた説明:AbstractRequestMatcherRegistry
HandlerMappingIntrospector
がクラスパスで使用可能な場合、どのHttpMethod
が使用されているかを気にしないMvcRequestMatcher
にマップされます。このマッチャーは、Spring MVC がマッチングに使用するのと同じルールを使用します。例: 多くの場合、パス "/path" のマッピングは、"/path","/path/","/path.html" などで一致します。HandlerMappingIntrospector
が使用できない場合は、AntPathRequestMatcher
にマップします。特定の
RequestMatcher
を指定する必要がある場合は、代わりにAbstractRequestMatcherRegistry.requestMatchers(RequestMatcher...)
を使用してください- オーバーライド:
- クラス
AbstractRequestMatcherRegistry<UrlAuthorizationConfigurer<H extends HttpSecurityBuilder<H>>.AuthorizedUrl>
のrequestMatchers
- パラメーター:
patterns
- 一致するパターン。MvcRequestMatcher
が使用されている場合、マッチングのルールは Spring MVC によって定義されます。- 戻り値:
RequestMatcher
の作成後にチェーンされるオブジェクト
requestMatchers
public UrlAuthorizationConfigurer<H>.AuthorizedUrl requestMatchers(org.springframework.http.HttpMethod method, StringSE... patterns) クラスからコピーされた説明:AbstractRequestMatcherRegistry
HandlerMappingIntrospector
がクラスパスで使用可能な場合、一致する特定のHttpMethod
も指定するMvcRequestMatcher
にマップされます。このマッチャーは、Spring MVC がマッチングに使用するのと同じルールを使用します。例: 多くの場合、パス "/path" のマッピングは、"/path","/path/","/path.html" などで一致します。HandlerMappingIntrospector
が使用できない場合は、AntPathRequestMatcher
にマップします。特定の
RequestMatcher
を指定する必要がある場合は、代わりにAbstractRequestMatcherRegistry.requestMatchers(RequestMatcher...)
を使用してください- オーバーライド:
- クラス
AbstractRequestMatcherRegistry<UrlAuthorizationConfigurer<H extends HttpSecurityBuilder<H>>.AuthorizedUrl>
のrequestMatchers
- パラメーター:
method
- 使用するHttpMethod
または任意のHttpMethod
のnull
patterns
- 一致するパターン。MvcRequestMatcher
が使用されている場合、マッチングのルールは Spring MVC によって定義されます。- 戻り値:
RequestMatcher
の作成後にチェーンされるオブジェクト
requestMatchers
public UrlAuthorizationConfigurer<H>.AuthorizedUrl requestMatchers(org.springframework.http.HttpMethod method) クラスからコピーされた説明:AbstractRequestMatcherRegistry
HandlerMappingIntrospector
がクラスパスで使用可能な場合、特定のHttpMethod
で一致するMvcRequestMatcher
にマップされます。このマッチャーは、Spring MVC がマッチングに使用するのと同じルールを使用します。例: 多くの場合、パス "/path" のマッピングは、"/path","/path/","/path.html" などで一致します。HandlerMappingIntrospector
が使用できない場合は、AntPathRequestMatcher
にマップします。特定の
RequestMatcher
を指定する必要がある場合は、代わりにAbstractRequestMatcherRegistry.requestMatchers(RequestMatcher...)
を使用してください- オーバーライド:
- クラス
AbstractRequestMatcherRegistry<UrlAuthorizationConfigurer<H extends HttpSecurityBuilder<H>>.AuthorizedUrl>
のrequestMatchers
- パラメーター:
method
- 使用するHttpMethod
または任意のHttpMethod
のnull
- 戻り値:
RequestMatcher
の作成後にチェーンされるオブジェクト
requestMatchers
public UrlAuthorizationConfigurer<H>.AuthorizedUrl requestMatchers(RequestMatcher... requestMatchers) クラスからコピーされた説明:AbstractRequestMatcherRegistry
RequestMatcher
インスタンスのリストをAbstractConfigAttributeRequestMatcherRegistry
に関連付けます- オーバーライド:
- クラス
AbstractRequestMatcherRegistry<UrlAuthorizationConfigurer<H extends HttpSecurityBuilder<H>>.AuthorizedUrl>
のrequestMatchers
- パラメーター:
requestMatchers
-RequestMatcher
インスタンス- 戻り値:
RequestMatcher
の作成後にチェーンされるオブジェクト
chainRequestMatchersInternal
protected UrlAuthorizationConfigurer<H>.AuthorizedUrl chainRequestMatchersInternal(ListSE<RequestMatcher> requestMatchers) クラスからコピーされた説明:AbstractConfigAttributeRequestMatcherRegistry
サブクラスは、RequestMatcher
インスタンスの作成にチェーンされたオブジェクトを返すためにこのメソッドを実装する必要があります。- 次で指定:
- クラス
AbstractConfigAttributeRequestMatcherRegistry<UrlAuthorizationConfigurer<H extends HttpSecurityBuilder<H>>.AuthorizedUrl>
のchainRequestMatchersInternal
- パラメーター:
requestMatchers
- 作成されたRequestMatcher
インスタンス- 戻り値:
RequestMatcher
への何かの関連付けを可能にするサブクラスのチェーンオブジェクト
withObjectPostProcessor
public UrlAuthorizationConfigurer<H>.StandardInterceptUrlRegistry withObjectPostProcessor(ObjectPostProcessor<?> objectPostProcessor) このクラスにObjectPostProcessor
を追加します。- パラメーター:
objectPostProcessor
-- 戻り値:
- さらにカスタマイズするための
ExpressionUrlAuthorizationConfigurer
and