両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン |
ja:documentation:pandorafms:technical_annexes:45_simplesaml_2_local [2025/01/16 06:38] – [Step 2: creation of local authentication source] junichi | ja:documentation:pandorafms:technical_annexes:45_simplesaml_2_local [2025/02/20 03:18] (現在) – [ステップ 2: ローカル認証ソースの作成] junichi |
---|
**概要** | **概要** |
| |
Once installed [[:en:documentation:pandorafms:technical_annexes:12_saml|SAML Single Sign-On]] following the official documentation, we can use these steps to configure a local authentication. | Once [[:en:documentation:pandorafms:technical_annexes:12_saml|SAML Single Sign-On]] is installed following the official documentation, you may use these steps to configure a local authentication. |
| |
公式ドキュメントに従って [[:ja:documentation:pandorafms:technical_annexes:12_saml|SAML シングルサインオン]] をインストールしたら、次の手順でローカル認証を設定できます。 | 公式ドキュメントに従って [[:ja:documentation:pandorafms:technical_annexes:12_saml|SAML シングルサインオン]] をインストールしたら、次の手順でローカル認証を設定できます。 |
===== ステップ 1: exampleauth の有効化 ===== | ===== ステップ 1: exampleauth の有効化 ===== |
| |
The following configuration file is opened with your favorite text editor: | Open the following configuration file with the text editor of your choosing: |
| |
次の設定ファイルを、お気に入りのテキストエディタで開きます。 | 次の設定ファイルを、任意のテキストエディタで開きます。 |
| |
<file> | <file> |
===== ステップ 2: ローカル認証ソースの作成 ===== | ===== ステップ 2: ローカル認証ソースの作成 ===== |
| |
With your favorite text editor open the file: | With the text editor of your choosing, open the file: |
| |
お気に入りのテキストエディタで次のファイルを開きます。 | 任意のテキストエディタで次のファイルを開きます。 |
| |
<file> | <file> |
<wrap #ks3 /> | <wrap #ks3 /> |
| |
===== Step 3: local authentication check ===== | ===== ステップ 3: ローカル認証の確認 ===== |
| |
It is accessed through the URL ''<nowiki>https://pandora.local/simplesamlphp/admin/</nowiki>'' (you must change ''pandora.local'' for the URL of the PFMS Web Console). | It is accessed through the URL ''<nowiki>https://pandora.local/simplesamlphp/admin/</nowiki>'' (you must change ''pandora.local'' for the URL of the PFMS Web Console). |
| |
| URL ''<nowiki>https://pandora.local/simplesamlphp/admin/</nowiki>'' からアクセスします (PFMS Web コンソールの URL については ''pandora.local'' を変更する必要があります)。 |
| |
<WRAP center round important 90%> | <WRAP center round important 90%> |
| |
It must be accessed with HTTPS, as HTTP will fail authentication. | It must be accessed with HTTPS, as HTTP will fail authentication. |
| |
| </WRAP> |
| |
| <WRAP center round important 90%> |
| |
| HTTP では認証に失敗するため、HTTPS でアクセスする必要があります。 |
| |
</WRAP> | </WRAP> |
| |
Enter the credentials for the ''admin'' user previously configured in SAML. | Enter the credentials for the ''admin'' user previously configured in SAML. |
| |
| 前もって SAML で設定した ''admin'' ユーザの認証情報を入力します。 |
| |
Click on the ''test'' tab which will display the new //authentication source// (''example-pandora''): | Click on the ''test'' tab which will display the new //authentication source// (''example-pandora''): |
| |
| ''test'' タブをクリックすると、新しい //認証ソース// (''example-pandora'') が表示されます。 |
| |
{{ :wiki:45_simplesaml_2_local-image_040.png }} | {{ :wiki:45_simplesaml_2_local-image_040.png }} |
| |
Click on ''example-pandora'' and it will ask for username and password, check with one of those defined in [[#ks2|step 2]] (shown for ''user''): | Click on ''example-pandora'' and it will ask for username and password, check with one of those defined in [[#ks2|step 2]] (shown for ''user''): |
| |
| ''example-pandora'' をクリックすると、ユーザ名とパスワードの入力を求められます。[[#ks2|ステップ 2]] で定義したもののいずれかを確認してください (''user'' に表示)。 |
| |
{{ :wiki:45_simplesaml_2_local-image_050.png }} | {{ :wiki:45_simplesaml_2_local-image_050.png }} |
Observe in <wrap :en>**Your attributes**</wrap> and compare with all the defined attributes, with this you can check that authentication using SAML works correctly and you can [[:en:documentation:pandorafms:technical_annexes:12_saml#ks2|configure in Pandora FMS]]. | Observe in <wrap :en>**Your attributes**</wrap> and compare with all the defined attributes, with this you can check that authentication using SAML works correctly and you can [[:en:documentation:pandorafms:technical_annexes:12_saml#ks2|configure in Pandora FMS]]. |
| |
| <wrap :en>**Your attribute**</wrap> を確認し、定義されているすべての属性と比較します。これにより、SAML を使用した認証が正しく機能していることを確認でき、[[:ja:documentation:pandorafms:technical_annexes:12_saml#ks2|Pandora FMS で設定]] できます。 |
| |
<WRAP center round important 90%> | <WRAP center round important 90%> |
</WRAP> | </WRAP> |
| |
[[:en:documentation:start|Back to Pandora FMS Documentation Index]] | <WRAP center round important 90%> |
| |
| **重要**: このローカル認証はテスト目的のみであり、実稼働環境での使用は推奨されません。実稼働環境に移行する前に、[[#ks1|ステップ 1]] と [[#ks2|ステップ 2]] の変更を元に戻すことをお勧めします。 |
| |
| </WRAP> |
| |
| [[:ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]] |
| |