2.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メソッド認証情報を取得します。
<この節の構成>
WebPasswordHandlerコンストラクタ
handleメソッド