From 3ac22b097d9a9e829ec45963a7c3a40dd12b40a1 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Sat, 13 Nov 2010 07:53:10 +0000 Subject: Port to HTTPD 2.3.8. Add an auth module to make OpenID, OAuth 1/2 and HTTPD 2.3 Form auth modules play nice together. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1034693 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/oauth/oauth-conf | 29 +++-------------------------- 1 file changed, 3 insertions(+), 26 deletions(-) (limited to 'sca-cpp/trunk/modules/oauth/oauth-conf') diff --git a/sca-cpp/trunk/modules/oauth/oauth-conf b/sca-cpp/trunk/modules/oauth/oauth-conf index 91ae1916c7..4ac231a55b 100755 --- a/sca-cpp/trunk/modules/oauth/oauth-conf +++ b/sca-cpp/trunk/modules/oauth/oauth-conf @@ -26,7 +26,7 @@ conf=`cat $root/conf/httpd.conf | grep "# Generated by: httpd-conf"` host=`echo $conf | awk '{ print $6 }'` # Configure HTTPD mod_tuscany_oauth module -cat >>$root/conf/httpd.conf <>$root/conf/auth.conf < AuthType Open +AuthName "$host" AuthOAuth On AuthOAuthLoginPage /login - - -# Enable unauthenticated access to public areas - -AuthOAuth Off - - -AuthOAuth Off - - -AuthOAuth Off - - -AuthOAuth Off +Require valid-user # Configure OAuth App keys @@ -65,14 +53,3 @@ cat >$root/cert/oauth-keys.conf <>$root/conf/vhost-ssl.conf < -AuthType Open -AuthName "$host" -Require valid-user - - -EOF - -- cgit v1.2.3