public void logout() throws ServletException { Principal principal = userPrincipal; if (context != null && context.getAuthenticator() != null) { context.getAuthenticator().logout(this); } else { userPrincipal = null; authType = null; } if (principal instanceof GenericPrincipal) { GenericPrincipal gp = (GenericPrincipal) principal; try { gp.logout(); } catch (Exception e) { throw new ServletException(sm.getString("coyoteRequest.logoutfail"), e); } } }
public void logout() throws ServletException { Principal principal = userPrincipal; if (context != null && context.getAuthenticator() != null) { context.getAuthenticator().logout(this); } else { userPrincipal = null; authType = null; } if (principal instanceof GenericPrincipal) { GenericPrincipal gp = (GenericPrincipal) principal; try { gp.logout(); } catch (Exception e) { throw new ServletException(MESSAGES.logoutFailure(), e); } } }
GenericPrincipal gp = (GenericPrincipal) principal; try { gp.logout(); } catch (Exception e) { manager.getContainer().getLogger().error(
GenericPrincipal gp = (GenericPrincipal) principal; try { gp.logout(); } catch (Exception e) { manager.getContainer().getLogger().error(
GenericPrincipal gp = (GenericPrincipal) principal; try { gp.logout(); } catch (Exception e) { manager.getContainer().getLogger().error(
GenericPrincipal gp = (GenericPrincipal) principal; try { gp.logout(); } catch (Exception e) { manager.getContainer().getLogger().error(
GenericPrincipal gp = (GenericPrincipal) principal; try { gp.logout(); } catch (Exception e) { manager.getContainer().getLogger().error(
GenericPrincipal gp = (GenericPrincipal) principal; try { gp.logout(); } catch (Exception e) { manager.getContainer().getLogger().error(
GenericPrincipal gp = (GenericPrincipal) principal; try { gp.logout(); } catch (Exception e) { manager.getContainer().getLogger().error(MESSAGES.sessionLogoutException(), e);