[jboss-cvs] jboss-seam/src/main/org/jboss/seam/security ...
Shane Bryzak
Shane_Bryzak at symantec.com
Thu Feb 1 07:33:05 EST 2007
User: sbryzak2
Date: 07/02/01 07:33:05
Modified: src/main/org/jboss/seam/security Identity.java
Log:
JBSEAM-751
Revision Changes Path
1.42 +2 -1 jboss-seam/src/main/org/jboss/seam/security/Identity.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Identity.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/security/Identity.java,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- Identity.java 1 Feb 2007 08:33:26 -0000 1.41
+++ Identity.java 1 Feb 2007 12:33:05 -0000 1.42
@@ -333,7 +333,8 @@
}
else if (callbacks[i] instanceof PasswordCallback)
{
- ( (PasswordCallback) callbacks[i] ).setPassword( password.toCharArray() );
+ ( (PasswordCallback) callbacks[i] ).setPassword( password != null ?
+ password.toCharArray() : null );
}
else
{
More information about the jboss-cvs-commits
mailing list