public String doDefault() { // When starting the wizard make sure we are not using any old sessions resetSelectedSchemeIds(); ActionContext.getSession().remove(AbstractGroupToRoleAction.GROUP_TO_ROLE_MAP_SESSION_KEY); ActionContext.getSession().remove(AbstractGroupToRoleAction.TRANSFORM_RESULTS_KEY); return super.doDefault(); }
protected void tearDown() throws Exception { user = null; secondaryUser = null; sr = null; ActionContext.getSession().clear(); ComponentAccessor.getJiraAuthenticationContext().setLoggedInUser(null); PermissionManager pm = ManagerFactory.getPermissionManager(); pm.removeGroupPermissions("jira-user"); ImportUtils.setSubvertSecurityScheme(false); super.tearDown(); }
private String getTabFromSession() { return (String) ActionContext.getSession().get(SessionKeys.CONFIGURE_PORTAL_PAGES_TAB); }
private void storeTabInSession(final String view) { //noinspection unchecked ActionContext.getSession().put(SessionKeys.CONFIGURE_PORTAL_PAGES_TAB, view); }
public static void removeFromSession() { ActionContext.getSession().remove(SessionKeys.BULKEDITBEAN); }
public static BulkEditBean getFromSession() { return (BulkEditBean) ActionContext.getSession().get(SessionKeys.BULKEDITBEAN); }
@SuppressWarnings("unchecked") public static void storeToSession(final BulkEditBean bulkEditBean) { ActionContext.getSession().put(SessionKeys.BULKEDITBEAN, bulkEditBean); }