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