Author: prabath
Date: Tue Dec 18 00:17:44 2007
New Revision: 11345
Log:
OpenID related UI changes
Modified:
branches/solutions/identity/openid-poc/modules/user-ui/src/main/webapp/jsp/openidauthorization.jsp
branches/solutions/identity/openid-poc/modules/user-ui/src/main/webapp/jsp/openidinfocardlogin.jsp
branches/solutions/identity/openid-poc/modules/user-ui/src/main/webapp/jsp/userregistration.jsp
Modified:
branches/solutions/identity/openid-poc/modules/user-ui/src/main/webapp/jsp/openidauthorization.jsp
==============================================================================
---
branches/solutions/identity/openid-poc/modules/user-ui/src/main/webapp/jsp/openidauthorization.jsp
(original)
+++
branches/solutions/identity/openid-poc/modules/user-ui/src/main/webapp/jsp/openidauthorization.jsp
Tue Dec 18 00:17:44 2007
@@ -85,15 +85,7 @@
</table>
</s:form>
</td>
- <td><img src="images/line-sep.png" height="150"
width="2" /></td>
- <td valign="top"><strong>Login with your OpenID
Information Card</strong><br/>
- <div><a
href="https://localhost:12443/OpenIdInfoCardLogin.action"
- title="Login with your
OpenID Information Card"><img
-
src="images/openid_infocard.png" align="left"
- style="margin-right:
10px;" border="0" /></a></div>
- </td>
- </tr>
- </table>
+ </table>
<br/><br/><br/><br/>
Modified:
branches/solutions/identity/openid-poc/modules/user-ui/src/main/webapp/jsp/openidinfocardlogin.jsp
==============================================================================
---
branches/solutions/identity/openid-poc/modules/user-ui/src/main/webapp/jsp/openidinfocardlogin.jsp
(original)
+++
branches/solutions/identity/openid-poc/modules/user-ui/src/main/webapp/jsp/openidinfocardlogin.jsp
Tue Dec 18 00:17:44 2007
@@ -14,9 +14,9 @@
<OBJECT type="application/x-informationCard" name="xmlToken">
<PARAM Name="tokenType"
Value="http://specs.openid.net/auth/2.0">
- <PARAM Name="requiredClaims"
Value="http://schema.openid.net/2007/05/claims/identifier">
- <param name="optionalClaims"
Value="http://axschema.org/contact/email http://axschema.org/namePerson/first
http://axschema.org/namePerson/last http://axschema.org/contact/phone/default
http://axschema.org/contact/postalAddress/home
http://axschema.org/contact/city/home
http://axschema.org/contact/postalCode/home
http://axschema.org/contact/country/home http://axschema.org/contact/web/blog">
- </OBJECT>
+ <PARAM Name="requiredClaims"
Value="http://schema.openid.net/2007/05/claims/identifier
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname">
+ <param name="optionalClaims"
Value="http://axschema.org/namePerson/first
http://axschema.org/contact/phone/default
http://axschema.org/contact/postalAddress/home
http://axschema.org/contact/city/home
http://axschema.org/contact/postalCode/home
http://axschema.org/contact/country/home http://axschema.org/contact/web/blog">
+ </OBJECT>
</form>
<script language="JavaScript" type="text/JavaScript">
<!--
@@ -24,63 +24,6 @@
-->
</script>
-<!-- Include the header -->
-<s:include value="header.jsp" />
-
-<table cellpadding="0" cellspacing="0" border="0" style="width:100%;">
- <tr>
- <td class="right-back">
- </td>
- <td class="content" valign="top">
- <table cellpadding="0" cellspacing="0" border="0"
style="width:100%;">
- <tr>
- <td><h1>WSO2 Identity Provider</h1></td>
- <td align="right" valign="top"><img
src="images/wso2-identity-content-rounded.jpg" align="top" /></td>
- </tr>
- </table>
-
- <br>
-
- <table cellpadding="0" cellspacing="10" border="0"
class="login-header">
- <tr>
- <td valign="top" width="30%">
- <strong>Login with Username and Password</strong>
- <s:form action="Login.action" theme="simple"
method="POST">
- <div class="errors">
- <s:actionerror />
- <s:fielderror />
- </div>
- <table cellpadding="0" cellspacing="10" border="0">
- <tr><td>Username</td><td><s:textfield
name="username" label="Login name" cssClass="text-box-normal" /></td></tr>
- <tr><td>Password</td><td><s:password
name="password" label="Password" cssClass="text-box-normal" /></td></tr>
- <tr><td></td><td><s:submit value="Login"
align="left" cssClass="button" /></td></tr>
- </table>
- </s:form>
- </td>
- <td><img src="images/line-sep.png" height="150" width="2"
/></td>
- <td valign="top">
- <strong>login with your Information Card</strong>
- <div>
- <a href="/OpenIdInfoCardLogin.action" title="Login
with your Information Card"><img src="images/infocard_114x80.png" align="left"
style="margin-right:10px;" border="0" /></a>
- You can only login with a personal information card
that you have already registered.
- If you have not registered a personal information card
please first login with your username and password and
- register a card.
- </div>
- </td>
- </tr>
- </table>
- <div>
- <strong>Don't have a Login?</strong><br/><br/>
- Signing up is easy.
- <a href="ShowUserRegistration.action">Signing Up</a>
- </div>
- </td>
- </tr>
-</table>
-
-<!-- Include footer -->
-<s:include value="footer.jsp" />
-
</body>
</html>
\ No newline at end of file
Modified:
branches/solutions/identity/openid-poc/modules/user-ui/src/main/webapp/jsp/userregistration.jsp
==============================================================================
---
branches/solutions/identity/openid-poc/modules/user-ui/src/main/webapp/jsp/userregistration.jsp
(original)
+++
branches/solutions/identity/openid-poc/modules/user-ui/src/main/webapp/jsp/userregistration.jsp
Tue Dec 18 00:17:44 2007
@@ -76,14 +76,7 @@
title="Register with
your Information Card"><img
src="images/infocard_114x80.png" align="left"
style="margin-right:
10px;" border="0" /></a></td>
- </tr>
- <tr>
- <td
valign="top"><br/><br/><strong>Register with WSO2 IS OpenID
Provider</strong><br />
- <a
href="/OpenIdUserRegistration.action"
- title="Register with
WSO2 IS OpenID Provider"><img
-
src="images/infocard_114x80.png" align="left"
- style="margin-right:
10px;" border="0" /></a></td>
- </tr>
+ </tr>
</table>
</td>
</tr>
_______________________________________________
Identity-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/identity-dev