「外部データベース認証」の版間の差分
提供:MoodleDocs
Mitsuhiro Yoshida (トーク | 投稿記録) (ページの作成: 作成中です - ~~~~ ロケーション: サイト管理 > ユーザ > 認証 This method uses an external database table to check whether a given username and password i...) |
Mitsuhiro Yoshida (トーク | 投稿記録) (done.) |
||
(同じ利用者による、間の18版が非表示) | |||
1行目: | 1行目: | ||
ロケーション: サイト管理 > ユーザ > [[認証]] | ロケーション: サイト管理 > ユーザ > [[認証]] | ||
このメソッドでは、ユーザ名およびパスワードを確認するため、外部データベーステーブルを使用します。アカウントが新しく作成された場合、他のフィールド情報もMoodleにコピーされます。 | |||
ページ下部にあるフィールドマッピングにより、外部データベース認証を設定します。それぞれのユーザプロファイルフィールドの隣りにマッピング用のテキストフィールドがあります。プロファイルデータフィールドにマップするため、外部データベースのカラム名を入力してください。 | |||
''' | '''ローカルデータの更新''' - ローカルフィールドに入力される外部データを指定します。 | ||
* | * 作成時 - 最初にアカウントが作成される初回ログインのみ動作します。 | ||
* | * 毎回ログイン時 - 最終ログイン後、外部データが更新された場合、当該Moodleローカルフィールドも更新されます。 | ||
''' | '''外部データの更新''' - 反対に、ローカルのMoodleフィールドから更新される外部データベースの該当フィールドを指定します。 | ||
* | * しない - 外部データの更新を無効にします。 | ||
* | * 更新時 - ローカルデータの更新後、外部データを更新したい場合、選択してください (恐らく、追加的な設定が必要です)。 | ||
''' | '''設定値のロック''' - ローカルユーザがMoodleフィールドを変更できて、上記2つの設定に影響を及ぼさない場合のみ指定してください。 | ||
* | * ロックしない - ユーザは、内部的に登録内容の変更を加えることができます (外部データベースの内容と矛盾が生じたとしても、「ローカルデータの更新」が「毎回ログイン時」に設定されている場合、次回ログイン時、更新されます)。 | ||
* | * ロックする - ユーザは登録内容を変更できません。 | ||
* | * 空の場合はロックしない - 外部データベースの内容がフィールドに適用されていない場合のみ、ユーザは登録内容を変更することができます (これは、このフィールドに対して、ユーザが1回のみ入力することが可能であり、保存後は変更できないことを意味します)。 | ||
== | ==補注== | ||
* | * [[ユーザのアップロード]]で適用される一部の内容は、外部データベースにも適用されます。 | ||
** | ** パスワードのリセットを強制するには、パスワードに「changeme」を設定してください。 | ||
*** | *** あなたが「changeme」を設定した場合、パスワードを変更するためのURIを提供することは、「極めて重要」です! | ||
* | * [[ユーザのアップロード]]内のすべてのフィールドが外部データベースに利用できるということではありません。利用できるフィールドは、外部データベース接続の管理ページ内のマッピングセクションで一覧表示されているフィールドのみです。 | ||
==関連情報== | ==関連情報== | ||
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=45444 | *Using Moodle [http://moodle.org/mod/forum/discuss.php?d=45444 外部データベース接続時、特別文字および文字のcon tilde (鋭アクセント)] フォーラムディスカッション - 英語 | ||
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=75519 | *Using Moodle [http://moodle.org/mod/forum/discuss.php?d=75519 ヘルプ!--ユーザ認証トラブル] フォーラムディスカッション - 英語 | ||
[[Category:認証]] | [[Category:認証]] | ||
[[en:External_database_authentication]] | [[en:External_database_authentication]] |
2009年9月12日 (土) 04:36時点における最新版
ロケーション: サイト管理 > ユーザ > 認証
このメソッドでは、ユーザ名およびパスワードを確認するため、外部データベーステーブルを使用します。アカウントが新しく作成された場合、他のフィールド情報もMoodleにコピーされます。
ページ下部にあるフィールドマッピングにより、外部データベース認証を設定します。それぞれのユーザプロファイルフィールドの隣りにマッピング用のテキストフィールドがあります。プロファイルデータフィールドにマップするため、外部データベースのカラム名を入力してください。
ローカルデータの更新 - ローカルフィールドに入力される外部データを指定します。
- 作成時 - 最初にアカウントが作成される初回ログインのみ動作します。
- 毎回ログイン時 - 最終ログイン後、外部データが更新された場合、当該Moodleローカルフィールドも更新されます。
外部データの更新 - 反対に、ローカルのMoodleフィールドから更新される外部データベースの該当フィールドを指定します。
- しない - 外部データの更新を無効にします。
- 更新時 - ローカルデータの更新後、外部データを更新したい場合、選択してください (恐らく、追加的な設定が必要です)。
設定値のロック - ローカルユーザがMoodleフィールドを変更できて、上記2つの設定に影響を及ぼさない場合のみ指定してください。
- ロックしない - ユーザは、内部的に登録内容の変更を加えることができます (外部データベースの内容と矛盾が生じたとしても、「ローカルデータの更新」が「毎回ログイン時」に設定されている場合、次回ログイン時、更新されます)。
- ロックする - ユーザは登録内容を変更できません。
- 空の場合はロックしない - 外部データベースの内容がフィールドに適用されていない場合のみ、ユーザは登録内容を変更することができます (これは、このフィールドに対して、ユーザが1回のみ入力することが可能であり、保存後は変更できないことを意味します)。
補注
- ユーザのアップロードで適用される一部の内容は、外部データベースにも適用されます。
- パスワードのリセットを強制するには、パスワードに「changeme」を設定してください。
- あなたが「changeme」を設定した場合、パスワードを変更するためのURIを提供することは、「極めて重要」です!
- パスワードのリセットを強制するには、パスワードに「changeme」を設定してください。
- ユーザのアップロード内のすべてのフィールドが外部データベースに利用できるということではありません。利用できるフィールドは、外部データベース接続の管理ページ内のマッピングセクションで一覧表示されているフィールドのみです。
関連情報
- Using Moodle 外部データベース接続時、特別文字および文字のcon tilde (鋭アクセント) フォーラムディスカッション - 英語
- Using Moodle ヘルプ!--ユーザ認証トラブル フォーラムディスカッション - 英語