You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2017/06/06 14:42:21 UTC
incubator-ponymail git commit: aaa.lua now uses aaa_site.lua
Repository: incubator-ponymail
Updated Branches:
refs/heads/master 0a8e8b8ff -> 9225c53ae
aaa.lua now uses aaa_site.lua
Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/9225c53a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/9225c53a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/9225c53a
Branch: refs/heads/master
Commit: 9225c53ae170a6fe0f26de8430011ac851f32d22
Parents: 0a8e8b8
Author: Sebb <se...@apache.org>
Authored: Tue Jun 6 15:42:12 2017 +0100
Committer: Sebb <se...@apache.org>
Committed: Tue Jun 6 15:42:12 2017 +0100
----------------------------------------------------------------------
aaa_examples/README.md | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/9225c53a/aaa_examples/README.md
----------------------------------------------------------------------
diff --git a/aaa_examples/README.md b/aaa_examples/README.md
index cf95425..96d3e3f 100644
--- a/aaa_examples/README.md
+++ b/aaa_examples/README.md
@@ -2,16 +2,17 @@
This directory contains example AAA (Authentication, Authorization and Access)
libraries for various use cases.
-To activate one of these scripts (or derivatives thereof), simply replace
-`site/api/lib/aaa.lua` with the AAA script of your choice.
+To activate one of these scripts (or derivatives thereof), simply copy the appropriate
+AAA script to `site/api/lib/aaa_site.lua`.
+This will then be used by the main aaa.lua script.
-These script will require that
+These scripts require that
`site/api/lib/config.lua` has one or more OAuth providers specified as
authorities, as such:
~~~
...,
--- This Google OAuth as an authority
+-- Use Google OAuth as an authority
admin_oauth = { "www.googleapis.com" }
...
~~~