T
- 実装クラスインターフェースpublic abstract class AbstractCertificationManager<T extends CertificationManagerDelegate> extends Object
修飾子 | コンストラクタと説明 |
---|---|
protected |
AbstractCertificationManager()
コンストラクター。
|
修飾子とタイプ | メソッドと説明 |
---|---|
CertificationStatus |
certificate(LoginRequestInfo loginRequestInfo)
カレントスレッドの情報から認証処理を行います。
|
LoginRequestInfo |
createLoginRequestInfo()
ログインリクエスト情報を作成します。
|
CertificationStatus |
forceLogin(LoginRequestInfo loginRequestInfo)
強制ログイン処理を行います。
|
PageUrl |
getLoginPageUrl(LoginInfo loginInfo)
ログインページURLを取得します。
|
protected T |
getService()
実装クラスを取得します。
|
PageUrl |
getTargetPageUrl(LoginInfo loginInfo)
ログイン認証後に遷移するページURLを取得します。
|
LoginRequestInfo |
initialParseRequest(LoginRequestInfo loginRequestInfo)
ログイン情報の初期解析を行います。
|
protected abstract T |
loadService()
実装クラスを初期化します。
|
CertificationStatus |
login(LoginRequestInfo loginRequestInfo)
ログイン処理を行います。
|
CertificationStatus |
login(LoginRequestInfo loginRequestInfo,
boolean isParseRequest)
ログイン処理を行います。
|
void |
logout()
ログアウト処理を行います。
|
void |
logout(boolean create)
ログアウト処理を行います。
|
void |
logout(List<String> attributeNames)
ログアウト処理を行います。
|
protected void |
updateAccountContextParameter(CertificationStatus status)
コンテキストの最終認証確認日時を更新します。
|
protected AbstractCertificationManager()
public CertificationStatus certificate(LoginRequestInfo loginRequestInfo) throws CertificationException
loginRequestInfo
- ログインリクエスト情報CertificationException
- 以下の条件の場合、エラーをスローします。public LoginRequestInfo createLoginRequestInfo()
public CertificationStatus forceLogin(LoginRequestInfo loginRequestInfo) throws CertificationException
loginRequestInfo
- ログイン情報CertificationException
- 以下の条件の場合、エラーをスローします。 public PageUrl getLoginPageUrl(LoginInfo loginInfo) throws PageException
loginInfo
- ログインリクエスト情報PageException
- 以下の条件の場合、エラーをスローします。 ログインページURLが取得できなかった場合。 引数が不正だった場合。public PageUrl getTargetPageUrl(LoginInfo loginInfo) throws PageException
loginInfo
- ログインリクエスト情報PageException
- 以下の条件の場合、エラーをスローします。 ログイン認証後に遷移するページURLが取得できなかった場合。 引数が不正だった場合。public LoginRequestInfo initialParseRequest(LoginRequestInfo loginRequestInfo) throws CertificationException
loginRequestInfo
- ログイン情報CertificationException
- ログイン情報の初期解析に失敗した場合に発生します。public CertificationStatus login(LoginRequestInfo loginRequestInfo) throws CertificationException
loginRequestInfo
- ログイン情報CertificationException
- 以下の条件の場合、エラーをスローします。public CertificationStatus login(LoginRequestInfo loginRequestInfo, boolean isParseRequest) throws CertificationException
loginRequestInfo
- ログイン情報isParseRequest
- ログインリクエスト解析を行う場合は true、行わない場合は falseCertificationException
- 以下の条件の場合、エラーをスローします。 public void logout() throws CertificationException
CertificationException
- ログアウト処理に失敗した場合にスローします。logout(boolean)
,
logout(List)
public void logout(boolean create) throws CertificationException
create
パラメータに false
を指定した場合、セッションの再作成を行いません。false
を指定して実行してください。true
を指定した場合は、 logout()
と同じ動作となります。create
- HTTPセッションを再作成するかどうかを指定します。true
です。CertificationException
- ログアウト処理に失敗した場合にスローします。public void logout(List<String> attributeNames) throws CertificationException
attributeNames
に名前がリストされている属性は、新しいHTTPセッションに引き継がれます。 attributeNames
- 現在の HTTPセッションから新しいセッションに引き継ぐ属性の名前のリスト。CertificationException
- ログアウト処理に失敗した場合にスローします。protected T getService()
protected abstract T loadService()
protected void updateAccountContextParameter(CertificationStatus status)
status
- 認証状況Copyright © 2012 NTT DATA INTRAMART CORPORATION