Author: shane.bryzak(a)jboss.com
Date: 2008-01-31 02:38:49 -0500 (Thu, 31 Jan 2008)
New Revision: 7319
Modified:
trunk/src/main/org/jboss/seam/security/Identity.java
Log:
we already set principal to null in unauthenticate()
Modified: trunk/src/main/org/jboss/seam/security/Identity.java
===================================================================
--- trunk/src/main/org/jboss/seam/security/Identity.java 2008-01-31 03:40:19 UTC (rev
7318)
+++ trunk/src/main/org/jboss/seam/security/Identity.java 2008-01-31 07:38:49 UTC (rev
7319)
@@ -329,7 +329,6 @@
public void logout()
{
- principal = null;
unAuthenticate();
Session.instance().invalidate();
if (Events.exists()) Events.instance().raiseEvent(EVENT_LOGGED_OUT);