Author: remy.maucherat(a)jboss.com
Date: 2013-06-11 07:18:58 -0400 (Tue, 11 Jun 2013)
New Revision: 2218
Modified:
branches/7.2.x/src/main/java/org/apache/catalina/authenticator/SingleSignOn.java
branches/8.0.x/src/main/java/org/apache/catalina/authenticator/SingleSignOn.java
Log:
SSO logout should cleanup the entry credentials.
Modified:
branches/7.2.x/src/main/java/org/apache/catalina/authenticator/SingleSignOn.java
===================================================================
---
branches/7.2.x/src/main/java/org/apache/catalina/authenticator/SingleSignOn.java 2013-06-10
11:56:39 UTC (rev 2217)
+++
branches/7.2.x/src/main/java/org/apache/catalina/authenticator/SingleSignOn.java 2013-06-11
11:18:58 UTC (rev 2218)
@@ -539,6 +539,8 @@
session.removeNote(Constants.SESS_USERNAME_NOTE);
session.removeNote(Constants.SESS_PASSWORD_NOTE);
}
+ // Reset SSO authentication
+ sso.updateCredentials(null, null, null, null);
}
Modified:
branches/8.0.x/src/main/java/org/apache/catalina/authenticator/SingleSignOn.java
===================================================================
---
branches/8.0.x/src/main/java/org/apache/catalina/authenticator/SingleSignOn.java 2013-06-10
11:56:39 UTC (rev 2217)
+++
branches/8.0.x/src/main/java/org/apache/catalina/authenticator/SingleSignOn.java 2013-06-11
11:18:58 UTC (rev 2218)
@@ -539,6 +539,8 @@
session.removeNote(Constants.SESS_USERNAME_NOTE);
session.removeNote(Constants.SESS_PASSWORD_NOTE);
}
+ // Reset SSO authentication
+ sso.updateCredentials(null, null, null, null);
}
Show replies by date