Author: remy.maucherat(a)jboss.com
Date: 2011-07-11 09:39:07 -0400 (Mon, 11 Jul 2011)
New Revision: 1778
Modified:
branches/2.1.x/java/org/apache/catalina/authenticator/SingleSignOnEntry.java
Log:
- Experiment with allowing to reauthenticate if the username and password are available
(JBPAPP-6724).
This is not fully accurate (it is allowed that there's a null password), but would
mostly work.
Modified: branches/2.1.x/java/org/apache/catalina/authenticator/SingleSignOnEntry.java
===================================================================
---
branches/2.1.x/java/org/apache/catalina/authenticator/SingleSignOnEntry.java 2011-07-08
15:19:03 UTC (rev 1777)
+++
branches/2.1.x/java/org/apache/catalina/authenticator/SingleSignOnEntry.java 2011-07-11
13:39:07 UTC (rev 1778)
@@ -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));
}
}
Show replies by date