クラス HttpSessionOAuth2AuthorizationRequestRepository
- java.lang.Object
-
- org.springframework.security.oauth2.client.web.HttpSessionOAuth2AuthorizationRequestRepository
- 実装されたすべてのインターフェース:
AuthorizationRequestRepository<OAuth2AuthorizationRequest>
public final class HttpSessionOAuth2AuthorizationRequestRepository extends java.lang.Object implements AuthorizationRequestRepository<OAuth2AuthorizationRequest>
- 導入:
- 5.0
- 関連事項:
AuthorizationRequestRepository
,OAuth2AuthorizationRequest
コンストラクターのサマリー
コンストラクター コンストラクター 説明 HttpSessionOAuth2AuthorizationRequestRepository()
メソッドのサマリー
すべてのメソッド インスタンスメソッド 具象メソッド 非推奨のメソッド 修飾子と型 メソッド 説明 OAuth2AuthorizationRequest
loadAuthorizationRequest(javax.servlet.http.HttpServletRequest request)
OAuth2AuthorizationRequest
removeAuthorizationRequest(javax.servlet.http.HttpServletRequest request)
OAuth2AuthorizationRequest
removeAuthorizationRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
指定されたHttpServletRequest
およびHttpServletResponse
に関連付けられたOAuth2AuthorizationRequest
を削除して返します。使用できない場合はnull
を返します。void
saveAuthorizationRequest(OAuth2AuthorizationRequest authorizationRequest, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
void
setAllowMultipleAuthorizationRequests(boolean allowMultipleAuthorizationRequests)
使用すべきではありません。
メソッドの詳細
loadAuthorizationRequest
public OAuth2AuthorizationRequest loadAuthorizationRequest(javax.servlet.http.HttpServletRequest request)
インターフェースからコピーされた説明:AuthorizationRequestRepository
- 次で指定:
- インターフェース
AuthorizationRequestRepository<OAuth2AuthorizationRequest>
のloadAuthorizationRequest
- パラメーター:
request
-HttpServletRequest
- 戻り値:
OAuth2AuthorizationRequest
またはnull
が利用できない場合
saveAuthorizationRequest
public void saveAuthorizationRequest(OAuth2AuthorizationRequest authorizationRequest, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
インターフェースからコピーされた説明:AuthorizationRequestRepository
- 次で指定:
- インターフェース
AuthorizationRequestRepository<OAuth2AuthorizationRequest>
のsaveAuthorizationRequest
- パラメーター:
authorizationRequest
-OAuth2AuthorizationRequest
request
-HttpServletRequest
response
-HttpServletResponse
removeAuthorizationRequest
public OAuth2AuthorizationRequest removeAuthorizationRequest(javax.servlet.http.HttpServletRequest request)
インターフェースからコピーされた説明:AuthorizationRequestRepository
- 次で指定:
- インターフェース
AuthorizationRequestRepository<OAuth2AuthorizationRequest>
のremoveAuthorizationRequest
- パラメーター:
request
-HttpServletRequest
- 戻り値:
- 削除された
OAuth2AuthorizationRequest
またはnull
は利用できない場合
removeAuthorizationRequest
public OAuth2AuthorizationRequest removeAuthorizationRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
インターフェースからコピーされた説明:AuthorizationRequestRepository
指定されたHttpServletRequest
およびHttpServletResponse
に関連付けられたOAuth2AuthorizationRequest
を削除して返します。使用できない場合はnull
を返します。- 次で指定:
- インターフェース
AuthorizationRequestRepository<OAuth2AuthorizationRequest>
のremoveAuthorizationRequest
- パラメーター:
request
-HttpServletRequest
response
-HttpServletResponse
- 戻り値:
OAuth2AuthorizationRequest
またはnull
が利用できない場合
setAllowMultipleAuthorizationRequests
@Deprecated public void setAllowMultipleAuthorizationRequests(boolean allowMultipleAuthorizationRequests)
使用すべきではありません。セッションごとに複数のOAuth2AuthorizationRequest
を保存するかどうかを構成します。デフォルトは false です(セッションごとに複数のOAuth2AuthorizationRequest
を許可しません)。- パラメーター:
allowMultipleAuthorizationRequests
- true を使用すると、セッションごとに複数のOAuth2AuthorizationRequest
を保存できます。- 導入:
- 5.5