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