try {
LoginContext lc = new LoginContext(loginModule, subject);
lc.logout();
} catch (LoginException e) {
throw new ArgeoException("Cannot logout as system", e);
try {
LoginContext lc = new LoginContext(loginModule, subject);
lc.logout();
} catch (LoginException e) {
throw new ArgeoException("Cannot logout as system", e);