this.loginContext.logout();
}
}
private void initJaasLoginContext() throws LoginException {
Configuration jaasConfig = new JBossConfiguration();
Configuration.setConfiguration(jaasConfig);
JBossCallbackHandler jaasCallbackHandler = new JBossCallbackHandler(
this.connectionSettings.getPrincipal(), this.connectionSettings.getCredentials());
this.loginContext = new LoginContext(JBossConfiguration.JBOSS_ENTRY_NAME, jaasCallbackHandler);
}