protected String extractSessionID(MessageContext synCtx, String key) { SessionCookie sessionCookie = extractSessionCookie(synCtx, key); if (sessionCookie != null) { return sessionCookie.getSessionId(); } return null; }
protected void removeSessionID(OMElement header, QName keyQName) { OMElement sgcIDElm = getHeaderBlock(header, keyQName); if (sgcIDElm != null) { sgcIDElm.detach(); } }
protected void removeSessionID(MessageContext synCtx, String key) { if (key != null) { Map headerMap = getTransportHeaderMap(synCtx); if (headerMap != null) { headerMap.remove(key); } } }
protected SessionCookie extractSessionCookie(MessageContext synCtx, String key) { Map headerMap = getTransportHeaderMap(synCtx); String path = "Path=/"; for (String id : entries) { if (sessionId == null && id != null && isASessionCookie(id)) { if (log.isDebugEnabled()) { log.debug("Extracted SessionID : " + id);
protected void removeSessionID(OMElement header, QName keyQName) { OMElement sgcIDElm = getHeaderBlock(header, keyQName); if (sgcIDElm != null) { sgcIDElm.detach(); } }
Map headerMap = getTransportHeaderMap(synCtx); if (headerMap != null) { Object cookieObj = headerMap.remove(key);
protected String extractSessionID(OMElement header, QName keyQName) { OMElement sgcIDElm = getHeaderBlock(header, keyQName); if (sgcIDElm != null) { String sgcID = sgcIDElm.getText(); if (sgcID != null && !"".equals(sgcID)) { return sgcID.trim(); } else { if (log.isDebugEnabled()) { log.debug(keyQName + " is null or empty"); } } } else { if (log.isDebugEnabled()) { log.debug("Couldn't find the " + keyQName + " SOAP header to find the session"); } } return null; }
protected String extractSessionID(MessageContext synCtx, String key) { Map headerMap = getTransportHeaderMap(synCtx);
protected String extractSessionID(OMElement header, QName keyQName) { OMElement sgcIDElm = getHeaderBlock(header, keyQName); if (sgcIDElm != null) { String sgcID = sgcIDElm.getText(); if (sgcID != null && !"".equals(sgcID)) { return sgcID.trim(); } else { if (log.isDebugEnabled()) { log.debug(keyQName + " is null or empty"); } } } else { if (log.isDebugEnabled()) { log.debug("Couldn't find the " + keyQName + " SOAP header to find the session"); } } return null; }