Author: lincolnthree
Date: 2010-06-16 17:08:54 -0400 (Wed, 16 Jun 2010)
New Revision: 13195
Modified:
examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/security/Identity.java
Log:
Modified:
examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/security/Identity.java
===================================================================
---
examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/security/Identity.java 2010-06-16
21:06:00 UTC (rev 13194)
+++
examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/security/Identity.java 2010-06-16
21:08:54 UTC (rev 13195)
@@ -66,11 +66,12 @@
}
}
- public void logout()
+ public String logout()
{
loggedIn = false;
HttpSession session = (HttpSession)
facesContext.getExternalContext().getSession(true);
session.invalidate();
+ return "pretty:home";
}
}
Show replies by date