[Minor] added message when logging out

This commit is contained in:
Robert von Burg 2014-09-13 17:17:15 +02:00
parent f9b3a8ebe4
commit 17b023be44
1 changed files with 1 additions and 0 deletions

View File

@ -139,6 +139,7 @@ public class AuthenticationService {
Certificate certificate = sessionHandlerHandler.validate(origin, authToken);
sessionHandlerHandler.invalidateSession(origin, certificate);
logoutResult.setMsg(MessageFormat.format("{0} has been logged out.", certificate.getUsername())); //$NON-NLS-1$
return Response.ok().entity(entity).build();
} catch (StrolchException | PrivilegeException e) {