クラス AbstractRetryEntryPoint
- java.lang.Object
-
- org.springframework.security.web.access.channel.AbstractRetryEntryPoint
- 実装済みのインターフェース一覧:
ChannelEntryPoint
- 既知の直属サブクラス
RetryWithHttpEntryPoint,RetryWithHttpsEntryPoint
public abstract class AbstractRetryEntryPoint extends java.lang.Object implements ChannelEntryPoint
フィールド概要
フィールド 修飾子と型 フィールド 説明 protected org.apache.commons.logging.Loglogger
コンストラクター概要
コンストラクター コンストラクター 説明 AbstractRetryEntryPoint(java.lang.String scheme, int standardPort)
方法の概要
すべてのメソッド インスタンスメソッド 抽象メソッド 具象メソッド 修飾子と型 メソッド 説明 voidcommence(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)安全なチャネルを開始します。protected abstract java.lang.IntegergetMappedPort(java.lang.Integer mapFromPort)protected PortMappergetPortMapper()protected PortResolvergetPortResolver()protected RedirectStrategygetRedirectStrategy()voidsetPortMapper(PortMapper portMapper)voidsetPortResolver(PortResolver portResolver)voidsetRedirectStrategy(RedirectStrategy redirectStrategy)必要なチャネル URL へのリダイレクトに使用する戦略を設定します。
メソッドの詳細
commence
public void commence(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOExceptionインターフェースからコピーされた説明:ChannelEntryPoint安全なチャネルを開始します。実装は、必要に応じて
ServletResponseのヘッダーを変更して、実装でサポートされているチャネル型を使用してユーザーエージェントを開始する必要があります。- 次で指定:
- インターフェース
ChannelEntryPoint内のcommence - パラメーター:
request-ChannelProcessorが拒否したことresponse- ユーザーエージェントが新しいチャネルの使用を開始できるように- 例外:
java.io.IOException
getMappedPort
protected abstract java.lang.Integer getMappedPort(java.lang.Integer mapFromPort)
getPortMapper
protected final PortMapper getPortMapper()
setPortMapper
public void setPortMapper(PortMapper portMapper)
setPortResolver
public void setPortResolver(PortResolver portResolver)
getPortResolver
protected final PortResolver getPortResolver()
setRedirectStrategy
public void setRedirectStrategy(RedirectStrategy redirectStrategy)
必要なチャネル URL へのリダイレクトに使用する戦略を設定します。設定されていない場合、DefaultRedirectStrategyインスタンスが使用されます。- パラメーター:
redirectStrategy- URL が渡される戦略インスタンス。
getRedirectStrategy
protected final RedirectStrategy getRedirectStrategy()