[jboss-cvs] JBossAS SVN: r104494 - projects/security/security-spi/branches/Branch_2_0/authorization/src/main/java/org/jboss/security/config.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed May 5 16:55:33 EDT 2010
Author: mmoyses
Date: 2010-05-05 16:55:33 -0400 (Wed, 05 May 2010)
New Revision: 104494
Modified:
projects/security/security-spi/branches/Branch_2_0/authorization/src/main/java/org/jboss/security/config/ModuleOption.java
Log:
SECURITY-503: fixing NPE with empty login module options
Modified: projects/security/security-spi/branches/Branch_2_0/authorization/src/main/java/org/jboss/security/config/ModuleOption.java
===================================================================
--- projects/security/security-spi/branches/Branch_2_0/authorization/src/main/java/org/jboss/security/config/ModuleOption.java 2010-05-05 20:39:20 UTC (rev 104493)
+++ projects/security/security-spi/branches/Branch_2_0/authorization/src/main/java/org/jboss/security/config/ModuleOption.java 2010-05-05 20:55:33 UTC (rev 104494)
@@ -53,7 +53,8 @@
}
public void setValue(Object value)
{
- this.value = value;
+ if (value != null) // SECURITY-503
+ this.value = value;
}
}
More information about the jboss-cvs-commits
mailing list