portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 22296] New: - New User Confirm Probrem
Date Mon, 11 Aug 2003 11:25:59 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22296>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22296

New User Confirm Probrem

           Summary: New User Confirm Probrem
           Product: Jetspeed
           Version: 1.4b4
          Platform: PC
        OS/Version: Windows NT/2K
            Status: UNCONFIRMED
          Severity: Normal
          Priority: Other
         Component: Login
        AssignedTo: jetspeed-dev@jakarta.apache.org
        ReportedBy: fyam@hotmail.com


If "newuser.notification.enable" is turned ON, a secret key is sent at the time 
of user's registration.
However, even if it inputs this key , it cannot progress to the next.
When I looked the source code, following points in question were found.

----------------------
In before a version 1.32, saveUser is called after setConfirmed.
But saveUser is not called after the version 1.33.
Since a secret key is not saved, it cannot progress next.

-----------------------
RCS file: /home/cvspublic/jakarta-
jetspeed/src/java/org/apache/jetspeed/modules/actions/JLoginUser.java,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- jakarta-
jetspeed/src/java/org/apache/jetspeed/modules/actions/JLoginUser.java
	2003/03/04 00:04:52	1.32
+++ jakarta-
jetspeed/src/java/org/apache/jetspeed/modules/actions/JLoginUser.java
	2003/04/07 19:46:27	1.33
@@ -236,7 +236,6 @@
             }
              
             user.setConfirmed( JetspeedResources.CONFIRM_VALUE );
-            JetspeedSecurity.saveUser(user);
             data.setMessage (Localization.getString("JLOGINUSER_WELCOME"));
         }
         
@@ -244,6 +243,7 @@
         try
         {
             user = JetspeedSecurity.login(username, password);
+            JetspeedSecurity.saveUser(user);
         }
         catch (LoginException e)
         {

Mime
View raw message