diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-07-24 23:21:38 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-07-24 23:21:38 +0000 |
commit | 50b290072e213a7aeb62d6bac5ad4b67a6fc42eb (patch) | |
tree | 809a05cb56ee40a7f2dbf4973422c0070cd60773 /sca-cpp/trunk/modules/openid/htdocs/unprotected/index.html | |
parent | fcc191fad24715bf54e8dcd0ea50303161787d0b (diff) |
Change OpenID conf to protect the entire tree under a host, and work with OpenID step2 discovery.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@978945 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sca-cpp/trunk/modules/openid/htdocs/unprotected/index.html (renamed from sca-cpp/trunk/modules/openid/htdocs/protected/index.html) | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/sca-cpp/trunk/modules/openid/htdocs/protected/index.html b/sca-cpp/trunk/modules/openid/htdocs/unprotected/index.html index 4c7bc4f5a3..af2cd7ca19 100644 --- a/sca-cpp/trunk/modules/openid/htdocs/protected/index.html +++ b/sca-cpp/trunk/modules/openid/htdocs/unprotected/index.html @@ -18,24 +18,10 @@ --> <html> -<head> -<script type="text/javascript" src="/js/tuscany-ref.js"></script> -<script language="JavaScript"> - var component = new tuscany.sca.Component("Protected"); - var userInfo = new tuscany.sca.Reference("userInfo"); - var user = userInfo.apply("getuser"); - var email = userInfo.apply("getemail"); -</script> -</head> <body> -<h1>Protected area - It works!</h1> -<p>The following info is returned by a JSONRPC service:</p> -<div id="user"></div> -<div id="email"></div> -<p><a href="/protected/info">User info</a></p> -<p><a href="/protected/logout">Sign out</a></p> -<script language="JavaScript"> - document.getElementById('user').innerHTML="User: " + user; - document.getElementById('email').innerHTML="Email: " + email; -</script> +<h1>Unprotected area - It works!</h1> +<p><a href="/info">User info</a></p> +<p><a href="/login">Sign in</a></p> +<p><a href="/logout">Sign out</a></p> +<p><a href="/">Protected area</a></p> </body></html> |