Author: remy.maucherat(a)jboss.com
Date: 2011-08-01 13:02:07 -0400 (Mon, 01 Aug 2011)
New Revision: 1799
Modified:
branches/JBOSSWEB_2_1_8_GA_JBPAPP-6724/java/org/apache/catalina/authenticator/SingleSignOnEntry.java
Log:
Fix for JBPAPP-6724
Modified:
branches/JBOSSWEB_2_1_8_GA_JBPAPP-6724/java/org/apache/catalina/authenticator/SingleSignOnEntry.java
===================================================================
---
branches/JBOSSWEB_2_1_8_GA_JBPAPP-6724/java/org/apache/catalina/authenticator/SingleSignOnEntry.java 2011-08-01
16:59:13 UTC (rev 1798)
+++
branches/JBOSSWEB_2_1_8_GA_JBPAPP-6724/java/org/apache/catalina/authenticator/SingleSignOnEntry.java 2011-08-01
17:02:07 UTC (rev 1799)
@@ -184,7 +184,8 @@
this.password = password;
this.canReauthenticate =
(Constants.BASIC_METHOD.equals(authType)
- || Constants.FORM_METHOD.equals(authType));
+ || Constants.FORM_METHOD.equals(authType)
+ || (username != null && password != null));
}
}