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クラスのインスタンスを生成します。
認証情報を取得します。
- 〈この節の構成〉