Hitachi

Cosminexus V11 アプリケーションサーバ 機能解説 セキュリティ管理機能編


15.25 WebPasswordHandlerクラス

説明

Webブラウザを介して,ユーザからユーザIDおよびパスワードを取得するJAAS Callback Handlerクラスの実装です。

ユーザIDおよびパスワードは,それぞれHTTPリクエストのcom.cosminexus.admin.auth.nameパラメタおよびcom.cosminexus.admin.auth.passwordパラメタに設定してください。

WebPasswordHandlerクラスのパッケージ名は,com.cosminexus.admin.auth.callbackです。

形式
class WebPasswordHandler 
{
  public WebPasswordHandler(HttpServletRequest request,
                            HttpServletResponse response,
                            AttributeEntry [] aliases,
                            String url,
                            boolean urlforward)
    throws FormatError, ParameterError;
  public WebPasswordHandler(HttpServletRequest request,
                            HttpServletResponse response,
                            String aliasesFile,
                            String url,
                            boolean urlforward)
    throws IOException, SecurityException, FormatError,
    ParameterError;
 
  public void handle(Callback[] callbacks)
    throws IOException, UnsupportedCallbackException;
}
コンストラクタ・メソッド一覧

コンストラクタ・メソッド名

機能

WebPasswordHandlerコンストラクタ

WebPasswordHandlerクラスのインスタンスを生成します。

handleメソッド

認証情報を取得します。

〈この節の構成〉