/** * Removes all session-bound Connector Sessions for the current user * * @param context the context */ public void removeConnectorSessions(RequestContext context) { try { HttpSession httpSession = ServletUtil.getSession(); String[] endpointIds = this.remoteConfig.getEndpointIds(); for (int i = 0; i < endpointIds.length; i++) { connectorService.removeConnectorSession(httpSession, endpointIds[i]); } } catch (Exception ex) { logger.error("Unable to remove connector sessions", ex); } }
/** * Removes all session-bound Connector Sessions for the current user * * @param context the context */ public void removeConnectorSessions(RequestContext context) { try { HttpSession httpSession = ServletUtil.getSession(); String[] endpointIds = this.remoteConfig.getEndpointIds(); for (int i = 0; i < endpointIds.length; i++) { connectorService.removeConnectorSession(httpSession, endpointIds[i]); } } catch (Exception ex) { logger.error("Unable to remove connector sessions", ex); } }
/** * Returns a list of the application endpoint ids * * @return String[] */ @ScriptMethod ( help="Returns a list of the application endpoint ids", output="List of the application endpoint ids" ) public String[] getEndpointIds() { String[] endpointIds = null; RemoteConfigElement remoteConfig = getRemoteConfig(); if(remoteConfig != null) { endpointIds = remoteConfig.getEndpointIds(); } return endpointIds; }
/** * Returns a list of the application endpoint ids * * @return String[] */ @ScriptMethod ( help="Returns a list of the application endpoint ids", output="List of the application endpoint ids" ) public String[] getEndpointIds() { String[] endpointIds = null; RemoteConfigElement remoteConfig = getRemoteConfig(); if(remoteConfig != null) { endpointIds = remoteConfig.getEndpointIds(); } return endpointIds; }
/** * Returns a list of the application endpoint ids * * @return */ @ScriptMethod ( help="Returns a list of the application endpoint ids", output="List of the application endpoint ids" ) public String[] getEndpointIds() { String[] endpointIds = null; RemoteConfigElement remoteConfig = getRemoteConfig(); if(remoteConfig != null) { endpointIds = remoteConfig.getEndpointIds(); } return endpointIds; }
/** * Removes all session-bound Connector Sessions for the current user * * @param context the context */ public static void removeConnectorSessions(RequestContext context) { try { HttpSession httpSession = ServletUtil.getSession(); String[] endpointIds = getRemoteConfiguration().getEndpointIds(); for (int i = 0; i < endpointIds.length; i++) { getConnectorService().removeConnectorSession(httpSession, endpointIds[i]); } } catch (Exception ex) { logger.error("Unable to remove connector sessions", ex); } }
/** * Removes all session-bound Connector Sessions for the current user * * @param context the context */ public static void removeConnectorSessions(RequestContext context) { try { HttpSession httpSession = ServletUtil.getSession(); String[] endpointIds = getRemoteConfiguration().getEndpointIds(); for (int i = 0; i < endpointIds.length; i++) { getConnectorService().removeConnectorSession(httpSession, endpointIds[i]); } } catch (Exception ex) { logger.error("Unable to remove connector sessions", ex); } }