public void prepare(Document doc, Crypto crypto) throws WSSecurityException, ConversationException { if (sct == null) { if (identifier != null) { sct = new SecurityContextToken(wscVersion, doc, identifier); } else { sct = new SecurityContextToken(wscVersion, doc); identifier = sct.getIdentifier(); } } // The wsu:Id of the wsc:SecurityContextToken if (sctId != null) { sct.setID(sctId); } }
public void prepare(Document doc, Crypto crypto) throws WSSecurityException, ConversationException { if (sct == null) { if (identifier != null) { sct = new SecurityContextToken(wscVersion, doc, identifier); } else { sct = new SecurityContextToken(wscVersion, doc); identifier = sct.getIdentifier(); } } // The wsu:Id of the wsc:SecurityContextToken if (sctId != null) { sct.setID(sctId); } }
WSDocInfo wsDocInfo ) throws WSSecurityException { SecurityContextToken sct = new SecurityContextToken(elem);
WSDocInfo wsDocInfo ) throws WSSecurityException { SecurityContextToken sct = new SecurityContextToken(elem);
new SecurityContextToken(this.getWSCVersion(data.getTokenType()), doc);
OMElement bodyElem = msgCtx.getEnvelope().getBody(); OMElement child = bodyElem.getFirstElement(); SecurityContextToken sct = new SecurityContextToken( (Element) rmd.getTokenStorage().getToken(tokenId) .getToken());