クラス SecureChannelProcessor
java.lang.ObjectSE
org.springframework.security.web.access.channel.SecureChannelProcessor
- 実装済みのインターフェース一覧:
org.springframework.beans.factory.InitializingBean,ChannelProcessor
@DeprecatedSE
public class SecureChannelProcessor
extends ObjectSE
implements org.springframework.beans.factory.InitializingBean, ChannelProcessor
使用すべきではありません。
HttpServletRequest.isSecure() レスポンスのレビューにより、チャネルセキュリティがアクティブであることを確認します。 クラスは、大文字と小文字を区別する 1 つのキーワード getSecureKeyword() に応答します。このキーワードが検出された場合、HttpServletRequest.isSecure() を使用して、提供されるチャネルセキュリティが決定されます。チャネルセキュリティが存在しない場合、構成された ChannelEntryPoint が呼び出されます。デフォルトでは、エントリポイントは RetryWithHttpsEntryPoint です。
デフォルトの secureKeyword は REQUIRES_SECURE_CHANNEL です。
コンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明void使用すべきではありません。voiddecide(FilterInvocation invocation, CollectionSE<ConfigAttribute> config) 使用すべきではありません。提示されたFilterInvocationが、リクエストされた ConfigAttribute のリストに基づいて適切なレベルのチャネルセキュリティを提供するかどうかを決定しました。使用すべきではありません。使用すべきではありません。voidsetEntryPoint(ChannelEntryPoint entryPoint) 使用すべきではありません。voidsetSecureKeyword(StringSE secureKeyword) 使用すべきではありません。booleansupports(ConfigAttribute attribute) 使用すべきではありません。このChannelProcessorが、渡されたConfigAttributeを処理できるかどうかを示します。
コンストラクターの詳細
SecureChannelProcessor
public SecureChannelProcessor()使用すべきではありません。
メソッドの詳細
afterPropertiesSet
public void afterPropertiesSet()使用すべきではありません。- 次で指定:
- インターフェース
org.springframework.beans.factory.InitializingBeanのafterPropertiesSet
decide
public void decide(FilterInvocation invocation, CollectionSE<ConfigAttribute> config) throws IOExceptionSE, jakarta.servlet.ServletException 使用すべきではありません。インターフェースからコピーされた説明:ChannelProcessor提示されたFilterInvocationが、リクエストされた ConfigAttribute のリストに基づいて適切なレベルのチャネルセキュリティを提供するかどうかを決定しました。- 次で指定:
- インターフェース
ChannelProcessorのdecide - 例外:
IOExceptionSEjakarta.servlet.ServletException
getEntryPoint
使用すべきではありません。getSecureKeyword
使用すべきではありません。setEntryPoint
使用すべきではありません。setSecureKeyword
使用すべきではありません。supports
使用すべきではありません。インターフェースからコピーされた説明:ChannelProcessorこのChannelProcessorが、渡されたConfigAttributeを処理できるかどうかを示します。これにより、
ChannelProcessingFilterは、構成されたChannelDecisionManagerが消費できるすべての構成属性を確認できます。- 次で指定:
- インターフェース
ChannelProcessorのsupports - パラメーター:
attribute- ChannelProcessingFilter に対して構成された構成属性。- 戻り値:
- この
ChannelProcessorが渡された構成属性をサポートできる場合は true
RequestMatcherの使用を検討してください。