[seam-commits] Seam SVN: r11789 - branches/community/Seam_2_2/src/main/org/jboss/seam/security.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Dec 7 20:41:59 EST 2009


Author: shane.bryzak at jboss.com
Date: 2009-12-07 20:41:58 -0500 (Mon, 07 Dec 2009)
New Revision: 11789

Modified:
   branches/community/Seam_2_2/src/main/org/jboss/seam/security/RememberMe.java
Log:
fix base64 encoding issue (see http://www.seamframework.org/Community/AdvanceAuthentication)


Modified: branches/community/Seam_2_2/src/main/org/jboss/seam/security/RememberMe.java
===================================================================
--- branches/community/Seam_2_2/src/main/org/jboss/seam/security/RememberMe.java	2009-12-07 15:51:10 UTC (rev 11788)
+++ branches/community/Seam_2_2/src/main/org/jboss/seam/security/RememberMe.java	2009-12-08 01:41:58 UTC (rev 11789)
@@ -219,7 +219,7 @@
       sb.append(username);
       sb.append(":");
       sb.append(value);
-      return Base64.encodeBytes(sb.toString().getBytes());      
+      return Base64.encodeBytes(sb.toString().getBytes(), Base64.DONT_BREAK_LINES);      
    }
    
    public String getCookiePath()



More information about the seam-commits mailing list