From 47017915e45f786265f5763ebf711abfe308738c Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Wed, 8 Dec 2010 03:52:15 +0000 Subject: Move HTTPD Require configuration for openid resources to the openid configuration scripts. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1043294 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/http/httpd-conf | 18 ++---------------- sca-cpp/trunk/modules/openid/openid-conf | 10 ++++++++++ sca-cpp/trunk/modules/openid/openid-step2-conf | 10 ++++++++++ 3 files changed, 22 insertions(+), 16 deletions(-) (limited to 'sca-cpp') diff --git a/sca-cpp/trunk/modules/http/httpd-conf b/sca-cpp/trunk/modules/http/httpd-conf index ed2b7bb06d..37fa2e4051 100755 --- a/sca-cpp/trunk/modules/http/httpd-conf +++ b/sca-cpp/trunk/modules/http/httpd-conf @@ -22,6 +22,8 @@ here=`readlink -f $0`; here=`dirname $here` mkdir -p $1 root=`readlink -f $1` +jsprefix=`readlink -f $here/../js` + host=$2 port=`$here/httpd-addr port $3` pport=`$here/httpd-addr pport $3` @@ -103,22 +105,6 @@ Require all granted AuthType None Require all granted - -AuthType None -Require all granted - - -AuthType None -Require all granted - - -AuthType None -Require all granted - - -AuthType None -Require all granted - AuthType None Require all granted diff --git a/sca-cpp/trunk/modules/openid/openid-conf b/sca-cpp/trunk/modules/openid/openid-conf index 1a5739b5aa..797f8b0607 100755 --- a/sca-cpp/trunk/modules/openid/openid-conf +++ b/sca-cpp/trunk/modules/openid/openid-conf @@ -55,3 +55,13 @@ AuthOpenIDAXAdd LASTNAME http://axschema.org/namePerson/last EOF +cat >>$root/conf/httpd.conf < +AuthType None +Require all granted + + +EOF + diff --git a/sca-cpp/trunk/modules/openid/openid-step2-conf b/sca-cpp/trunk/modules/openid/openid-step2-conf index d91becf7a4..559a62d20b 100755 --- a/sca-cpp/trunk/modules/openid/openid-step2-conf +++ b/sca-cpp/trunk/modules/openid/openid-step2-conf @@ -42,6 +42,16 @@ ForceType text/plain EOF +cat >>$root/conf/httpd.conf < +AuthType None +Require all granted + + +EOF + # Generate OpenID XRDS document cat >$root/conf/openid.xrds < -- cgit v1.2.3