2
2
Security
3
3
========
4
4
5
- 認証とファイアウォール (i.e. Getting thw User's Credentials )
5
+ 認証とファイアウォール (i.e. ユーザの権限情報を取得する )
6
6
Authentication and Firewalls (i.e. Getting the User's Credentials)
7
7
------------------------------------------------------------------
8
8
9
-
10
- 思いのままの手段と様々なデータソースからユーザ情報をロードしユーザの認証を Symfony に
11
- 設定することができます。
12
- とても難解なテーマですが、`Security Cookbook Section `_ には
13
- これについてのたくさんの情報が記載されています。
14
-
15
- ``security.yml `` の初期設定の ``firewalls `` キーの下に認証を設定します。
16
-
9
+ ユーザが期待する様々なメソッドを使い様々なデータソースからユーザ情報をロードするように
10
+ Symfony に認証を設定することができます。
11
+ セキュリティはとても難解なテーマですが、`Security Cookbook Section `_ に
12
+ 多くの情報が記載されています。
17
13
18
14
You can configure Symfony to authenticate your users using any method you
19
15
want and to load user information from any source. This is a complex topic,
20
16
but the `Security Cookbook Section `_ has a lot of information about this.
21
17
18
+ まずは要件にこだわらず ``security.yml `` の初期設定の ``firewalls `` キーの下に認証を設定してみます。
19
+
22
20
Regardless of your needs, authentication is configured in ``security.yml ``,
23
21
primarily under the ``firewalls `` key.
24
22
25
23
.. best-practice ::
26
24
27
- 正規に許可された2つのことなる認証システムとユーザが無い限り
25
+ 正規に許可された2つの異なる認証システムとユーザが無い限り
28
26
(e.g. メインとなるサイトと API のためだけのトークンシステムのためのログイン)、
29
27
``anonymous `` のキーを有効にしたたったひとつのファイヤーウォールを設けることを推奨します。
30
28
@@ -36,7 +34,7 @@ primarily under the ``firewalls`` key.
36
34
37
35
ほとんどのアプリケーションで認証システムとユーザのセットはひとつしかありません。
38
36
このため、ひとつのファイヤーウォールの設定だけで事足ります。
39
- もちろん サイトの API と WEB を分けたいときなどの例外もありますが 、
37
+ もちろん、 サイトの API と WEB を分けたい場合などの例外もありますが 、
40
38
シンプルに考えていくことが重要です。
41
39
42
40
Most applications only have one authentication system and one set of users.
0 commit comments