Author: prabath
Date: Wed Feb 20 20:50:36 2008
New Revision: 13923

Log:

fix : user sign up with a self-issued information card and register a new 
self-issued information card and login in to the OpenID Provider with the 
registered new self-issued information card

Modified:
   
trunk/solutions/identity/modules/user-ui/src/main/java/org/wso2/solutions/identity/user/ui/util/UserUtil.java

Modified: 
trunk/solutions/identity/modules/user-ui/src/main/java/org/wso2/solutions/identity/user/ui/util/UserUtil.java
==============================================================================
--- 
trunk/solutions/identity/modules/user-ui/src/main/java/org/wso2/solutions/identity/user/ui/util/UserUtil.java
       (original)
+++ 
trunk/solutions/identity/modules/user-ui/src/main/java/org/wso2/solutions/identity/user/ui/util/UserUtil.java
       Wed Feb 20 20:50:36 2008
@@ -210,9 +210,10 @@
                 String currentppid = (String) mapValues
                         .get(IdentityConstants.CLAIM_PPID);
 
-                if (currentppid == null) {
-                    // This is a user signed up with user-name/password and
-                    // later registered an information card.
+                if (currentppid == null || !currentppid.equals(ppid)) {
+                    // This is a user signed up with user-name/password or a
+                    // self-issued information card and later registered an
+                    // information card.
                     IPPersistenceManager db;
                     try {
                         db = IPPersistenceManager.getPersistanceManager();

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

Reply via email to