[jboss-cvs] Picketbox SVN: r140 - trunk/security-jboss-sx/jbosssx/src/main/java/org/jboss/security/auth/spi.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Oct 20 09:25:17 EDT 2010
Author: mmoyses
Date: 2010-10-20 09:25:16 -0400 (Wed, 20 Oct 2010)
New Revision: 140
Modified:
trunk/security-jboss-sx/jbosssx/src/main/java/org/jboss/security/auth/spi/UsernamePasswordLoginModule.java
Log:
SECURITY-536: adding principal instead of username to the stacked options
Modified: trunk/security-jboss-sx/jbosssx/src/main/java/org/jboss/security/auth/spi/UsernamePasswordLoginModule.java
===================================================================
--- trunk/security-jboss-sx/jbosssx/src/main/java/org/jboss/security/auth/spi/UsernamePasswordLoginModule.java 2010-10-15 18:20:57 UTC (rev 139)
+++ trunk/security-jboss-sx/jbosssx/src/main/java/org/jboss/security/auth/spi/UsernamePasswordLoginModule.java 2010-10-20 13:25:16 UTC (rev 140)
@@ -264,8 +264,8 @@
}
if( getUseFirstPass() == true )
- { // Add the username and password to the shared state map
- sharedState.put("javax.security.auth.login.name", username);
+ { // Add the principal and password to the shared state map
+ sharedState.put("javax.security.auth.login.name", identity);
sharedState.put("javax.security.auth.login.password", credential);
}
super.loginOk = true;
More information about the jboss-cvs-commits
mailing list