jp.co.intra_mart.foundation.security.certification
クラス LDAPUserCertification
java.lang.Object
jp.co.intra_mart.foundation.security.certification.StandardUserCertification
jp.co.intra_mart.foundation.security.certification.LDAPUserCertification
- すべての実装インタフェース:
- UserCertification
- public class LDAPUserCertification
- extends StandardUserCertification
ユーザログインLDAP認証クラス。
一般ユーザのLDAPログイン認証を行うためのクラス
初期化パラメータは以下のものを必要とします。
ログイングループごとに3つのパラメータが必要です。
パラメータ名 | 説明 |
ログイングループID.provider-url | プロバイダURLを設定します。(Ex : ldap://localhost:389/) |
ログイングループID.dn | 識別情報を設定します。(Ex : uid=?,ou=People, o=ldaps.intra-mart.jp) |
ログイングループID.context-factory | コンテキストファクトリを設定します。(Ex : com.sun.jndi.ldap.LdapCtxFactory) |
ログイングループID.dn に設定する'?'の部分をユーザIDに置換して、認証を行います。
このdnの記述方法は、LDAPサーバによって異なります。
- 導入されたバージョン:
- 5.0
- バージョン:
- 1.0
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LDAPUserCertification
public LDAPUserCertification()
certification
public int certification(LoginInfo loginInfo,
Account user,
HttpServletRequest request,
HttpServletResponse response)
- ユーザを認証する。
- 定義:
- インタフェース
UserCertification
内の certification
- オーバーライド:
- クラス
StandardUserCertification
内の certification
- パラメータ:
loginInfo
- ログイン情報user
- ユーザ情報request
- サーブレットリクエストresponse
- サーブレットレスポンス
- 戻り値:
- 認証結果
- 導入されたバージョン:
- 5.0
init
public void init(Map params)
- ユーザログイン認証の初期化を行います。
ユーザログイン認証のインスタンス生成時に一度だけ呼び出されます。
- 定義:
- インタフェース
UserCertification
内の init
- オーバーライド:
- クラス
StandardUserCertification
内の init
- パラメータ:
params
- 初期化パラメータのマップ
Copyright © 2000-2005 NTT DATA INTRAMART CO.,LTD. All Rights Reserved.