diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-12-18 20:19:11 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-12-18 20:19:11 +0000 |
commit | 3ac8ca7868ade978a3d0fc74113f3276e5c183ec (patch) | |
tree | bcec824aaee082426af297c1ebc331b98c25824f /sca-cpp/trunk/modules/openid/openid-conf | |
parent | 0498e9dd768e270b74045acd96075306c29a9b4a (diff) |
Add ability to configure an HTTPS proxy with load balancing over a set of HTTP backend servers and get OAuth authentication working with that topology.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1220526 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/openid/openid-conf')
-rwxr-xr-x | sca-cpp/trunk/modules/openid/openid-conf | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sca-cpp/trunk/modules/openid/openid-conf b/sca-cpp/trunk/modules/openid/openid-conf index c6e63c128d..c9e2d85586 100755 --- a/sca-cpp/trunk/modules/openid/openid-conf +++ b/sca-cpp/trunk/modules/openid/openid-conf @@ -26,6 +26,13 @@ conf=`cat $root/conf/httpd.conf | grep "# Generated by: httpd-conf"` host=`echo $conf | awk '{ print $6 }'` openid_prefix=`cat $here/openid.prefix` +# Disallow public access to server resources +cat >$root/conf/noauth.conf <<EOF +# Generated by: openid-auth-conf $* +# Disallow public access to server resources + +EOF + # Configure OpenID authentication cat >>$root/conf/modules.conf <<EOF # Generated by: openid-conf $* @@ -55,9 +62,9 @@ AuthOpenIDAXAdd LASTNAME http://axschema.org/namePerson/last EOF -cat >>$root/conf/httpd.conf <<EOF +cat >>$root/conf/pubauth.conf <<EOF # Generated by: openid-conf $* -# Allow access to /openid location +# Allow public access to /openid location <Location /openid> AuthType None Require all granted |