comparison flys-client/src/main/java/de/intevation/flys/client/client/services/UserService.java @ 4214:e39ac9767a69

Implement UserService method to remove current user from session For being able to logout a user UserService must provide a method the remove the current user object from the session. Part of flys/issue916 (Logout: "Abmelden" Knopf mit Funktion belegen)
author Björn Ricks <bjoern.ricks@intevation.de>
date Tue, 23 Oct 2012 09:57:42 +0200
parents bc06a671ef60
children
comparison
equal deleted inserted replaced
4213:0674d89210f5 4214:e39ac9767a69
22 * 22 *
23 * @return the current {@link User}. 23 * @return the current {@link User}.
24 */ 24 */
25 User getCurrentUser(String locale) 25 User getCurrentUser(String locale)
26 throws AuthenticationException; 26 throws AuthenticationException;
27
28 /**
29 * Removes the current user object from the session
30 */
31 void logoutCurrentUser();
27 } 32 }
28 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 33 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org