diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-06 07:45:00 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-06 07:45:00 +0000 |
commit | 2d574d2281d05383e646f20147adbc3ca8934430 (patch) | |
tree | 194c6dcfdfb0bbbaf6dd439dcd95bb6235b9a3eb /sca-cpp/trunk/modules/openid/openid-conf | |
parent | e6c50210013371ca5c1e45e4c86178a1fc212d49 (diff) |
Strawman implementation of the OAuth 2.0 protocol. Minor improvements to the OpenID support and changes to enable it to co-exist with OAuth.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@992963 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 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sca-cpp/trunk/modules/openid/openid-conf b/sca-cpp/trunk/modules/openid/openid-conf index a8314261ac..95cdb1945c 100755 --- a/sca-cpp/trunk/modules/openid/openid-conf +++ b/sca-cpp/trunk/modules/openid/openid-conf @@ -34,13 +34,17 @@ LoadModule authopenid_module $openid_prefix/modules/mod_auth_openid.so # Enable OpenID authentication <Location /> -AuthType OpenID +AuthType Open AuthOpenIDEnabled On AuthOpenIDCookiePath / -AuthOpenIDCookieName TuscanyOpenIDAuth +AuthOpenIDCookieName TuscanyOpenAuth AuthOpenIDSecureCookie On AuthOpenIDLoginPage /login AuthOpenIDAXAdd EMAIL http://axschema.org/contact/email +AuthOpenIDAXAdd FULLNAME http://axschema.org/namePerson +AuthOpenIDAXAdd NICKNAME http://axschema.org/namePerson/friendly +AuthOpenIDAXAdd FIRSTNAME http://axschema.org/namePerson/first +AuthOpenIDAXAdd LASTNAME http://axschema.org/namePerson/last </Location> # Enable unauthenticated access to unprotected areas @@ -60,7 +64,7 @@ cat >>$root/conf/vhost-ssl.conf <<EOF # Generated by: openid-conf $* # Require OpenID authentication <Location /> -AuthType OpenID +AuthType Open AuthName "$host" Require valid-user </Location> |