new QName(((Element)currentChild).getNamespaceURI(), ((Element)currentChild).getLocalName()); Processor proc = request.getWssConfig().getProcessor(el); if (proc != null) { completeResults.addAll(proc.handleToken((Element)currentChild, request)); Processor proc = request.getWssConfig().getProcessor(el); if (proc != null) { LOG.debug("Processing decrypted element with: {}", proc.getClass().getName()); Processor proc = request.getWssConfig().getProcessor(el); if (proc != null) { LOG.debug("Processing decrypted element with: {}", proc.getClass().getName());
Processor p = cfg.getProcessor(el); if (p != null) { List<WSSecurityEngineResult> results = p.handleToken((Element) node, requestData);
); Processor proc = request.getWssConfig().getProcessor(WSConstants.SAML_TOKEN); List<WSSecurityEngineResult> samlResult = proc.handleToken(token, request); return
} else if (encryptedKeyElement != null && data.getWssConfig() != null) { WSSConfig wssConfig = data.getWssConfig(); Processor encrKeyProc = wssConfig.getProcessor(WSConstants.ENCRYPTED_KEY); encrKeyResults = encrKeyProc.handleToken(encryptedKeyElement, data); byte[] symmKey = if (decryptedElem != null) { //is null if we processed an attachment QName el = new QName(decryptedElem.getNamespaceURI(), decryptedElem.getLocalName()); Processor proc = data.getWssConfig().getProcessor(el); if (proc != null) { LOG.debug("Processing decrypted element with: {}", proc.getClass().getName());
QName el = new QName(token.getNamespaceURI(), token.getLocalName()); if (el.equals(WSConstants.BINARY_TOKEN)) { Processor proc = data.getWssConfig().getProcessor(WSConstants.BINARY_TOKEN); List<WSSecurityEngineResult> bstResult = proc.handleToken(token, parameters.getData()); BinarySecurity bstToken = principal = (Principal)bstResult.get(0).get(WSSecurityEngineResult.TAG_PRINCIPAL); } else if (el.equals(WSConstants.SAML_TOKEN) || el.equals(WSConstants.SAML2_TOKEN)) { Processor proc = data.getWssConfig().getProcessor(WSConstants.SAML_TOKEN); } else if (el.equals(WSConstants.ENCRYPTED_KEY)) { STRParserUtil.checkEncryptedKeyBSPCompliance(secRef, data.getBSPEnforcer()); Processor proc = data.getWssConfig().getProcessor(WSConstants.ENCRYPTED_KEY); List<WSSecurityEngineResult> encrResult = proc.handleToken(token, data); secretKey =
QName el = new QName(token.getNamespaceURI(), token.getLocalName()); if (el.equals(WSConstants.BINARY_TOKEN)) { Processor proc = data.getWssConfig().getProcessor(WSConstants.BINARY_TOKEN); List<WSSecurityEngineResult> bstResult = proc.handleToken(token, data); BinarySecurity bstToken =