Author: prabath
Date: Mon Jan 28 10:34:56 2008
New Revision: 13096

Log:

added user approval support for OpenID authentication

Modified:
   
trunk/solutions/identity/modules/user-ui/src/main/webapp/jsp/openidauthentication.jsp

Modified: 
trunk/solutions/identity/modules/user-ui/src/main/webapp/jsp/openidauthentication.jsp
==============================================================================
--- 
trunk/solutions/identity/modules/user-ui/src/main/webapp/jsp/openidauthentication.jsp
       (original)
+++ 
trunk/solutions/identity/modules/user-ui/src/main/webapp/jsp/openidauthentication.jsp
       Mon Jan 28 10:34:56 2008
@@ -27,9 +27,7 @@
        String openididentity = requestp.hasParameter("openid.identity") ? 
requestp
                        .getParameterValue("openid.identity")
                        : null;
- %> <!-- START Content  --> <%
-               if (request.getParameter("action") == null) {
-               String site = (String) (openidrealm == null ? openidreturnto
+       String site = (String) (openidrealm == null ? openidreturnto
                : openidrealm);
  %>
 
@@ -50,7 +48,7 @@
                <table cellpadding="0" cellspacing="10" border="0"
                        class="login-header">
                        <tr>
-                               <td><s:form action="/server?_action=complete" 
theme="simple"
+                               <td><s:form 
action="/OpenIDAuthVerification.action" theme="simple"
                                        method="POST">
                                        <div class="errors"><s:actionerror /> 
<s:fielderror /></div>
                                        <table>
@@ -114,13 +112,7 @@
                </td>
        </tr>
 </table>
-<%
-       } else // Logged in
-       {
-               session.setAttribute("authenticatedAndApproved", Boolean.TRUE);
-               response.sendRedirect("/server?_action=complete");
-       }
-%>
+
 </div>
 <!-- Include footer -->
 <s:include value="footer.jsp" />

_______________________________________________
Identity-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/identity-dev

Reply via email to