From 125a708dff577b2ef5cee32ea3f86b00ea5c1f88 Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Mon, 28 Jun 2010 01:40:42 +0000 Subject: Add a sign out page and links to more OpenID providers. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@958437 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/openid/htdocs/index.html | 7 ++- sca-cpp/trunk/modules/openid/htdocs/login.html | 62 ++++++++++++++++++++++ .../trunk/modules/openid/htdocs/login/index.html | 38 ------------- .../modules/openid/htdocs/protected/index.html | 7 ++- .../modules/openid/htdocs/protected/logout.html | 34 ++++++++++++ sca-cpp/trunk/modules/openid/openid-conf | 2 +- 6 files changed, 107 insertions(+), 43 deletions(-) create mode 100644 sca-cpp/trunk/modules/openid/htdocs/login.html delete mode 100644 sca-cpp/trunk/modules/openid/htdocs/login/index.html create mode 100644 sca-cpp/trunk/modules/openid/htdocs/protected/logout.html (limited to 'sca-cpp/trunk/modules') diff --git a/sca-cpp/trunk/modules/openid/htdocs/index.html b/sca-cpp/trunk/modules/openid/htdocs/index.html index 5681f551ca..ff69115cda 100644 --- a/sca-cpp/trunk/modules/openid/htdocs/index.html +++ b/sca-cpp/trunk/modules/openid/htdocs/index.html @@ -17,5 +17,8 @@ under the License. --> -

Unprotected area - It works!

- + +

Unprotected area - It works!

+

Protected area

+

Sign in

+ diff --git a/sca-cpp/trunk/modules/openid/htdocs/login.html b/sca-cpp/trunk/modules/openid/htdocs/login.html new file mode 100644 index 0000000000..b7b87aac04 --- /dev/null +++ b/sca-cpp/trunk/modules/openid/htdocs/login.html @@ -0,0 +1,62 @@ + + + +

Sign in with an OpenID provider

+ +
+ + +
+ +
+ + + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ + +
+ +
+ +
+ +
+ diff --git a/sca-cpp/trunk/modules/openid/htdocs/login/index.html b/sca-cpp/trunk/modules/openid/htdocs/login/index.html deleted file mode 100644 index 6270c7efbd..0000000000 --- a/sca-cpp/trunk/modules/openid/htdocs/login/index.html +++ /dev/null @@ -1,38 +0,0 @@ - - - -

Sign in using an OpenID provider

-
- - -
-
- - -
-
- - -
-
- - -
- diff --git a/sca-cpp/trunk/modules/openid/htdocs/protected/index.html b/sca-cpp/trunk/modules/openid/htdocs/protected/index.html index 3483c300a8..1799bc1006 100644 --- a/sca-cpp/trunk/modules/openid/htdocs/protected/index.html +++ b/sca-cpp/trunk/modules/openid/htdocs/protected/index.html @@ -17,5 +17,8 @@ under the License. --> -

Protected area - It works!

- + +

Protected area - It works!

+

Hello component

+

Sign out

+ diff --git a/sca-cpp/trunk/modules/openid/htdocs/protected/logout.html b/sca-cpp/trunk/modules/openid/htdocs/protected/logout.html new file mode 100644 index 0000000000..ec8c104c92 --- /dev/null +++ b/sca-cpp/trunk/modules/openid/htdocs/protected/logout.html @@ -0,0 +1,34 @@ + + + +

Sign out

+ +
+ + +
+ diff --git a/sca-cpp/trunk/modules/openid/openid-conf b/sca-cpp/trunk/modules/openid/openid-conf index b5d2994dcc..cac75549fd 100755 --- a/sca-cpp/trunk/modules/openid/openid-conf +++ b/sca-cpp/trunk/modules/openid/openid-conf @@ -30,7 +30,7 @@ LoadModule authopenid_module $openid_prefix/modules/mod_auth_openid.so AuthOpenIDEnabled On -AuthOpenIDLoginPage /login +AuthOpenIDLoginPage /login.html AuthOpenIDAXAdd EMAIL http://axschema.org/contact/email -- cgit v1.2.3