diff --git a/pom.xml b/pom.xml index 00a5e3b90b85cfab5a34b5bd0ad0d2412b4efac0..3df1214b93d7b7e3099859b4814ee0e36e00c53f 100644 --- a/pom.xml +++ b/pom.xml @@ -19,7 +19,7 @@ <org.wildfly.version>35.0.1.Final</org.wildfly.version> <org.drools.version>10.0.0</org.drools.version> <javax.javaee.version>10.0.0</javax.javaee.version> - <org.opensaml.version>5.0.0</org.opensaml.version> + <org.opensaml.version>5.1.4</org.opensaml.version> <org.apache.velocity>2.4.1</org.apache.velocity> <vt-ldap.version>3.3.9</vt-ldap.version> <org.slf4j.version>1.7.2</org.slf4j.version> diff --git a/regapp-saml/src/main/java/edu/kit/scc/webreg/service/saml/HttpSignableSoapClient.java b/regapp-saml/src/main/java/edu/kit/scc/webreg/service/saml/HttpSignableSoapClient.java deleted file mode 100644 index f48d0b6b74e478ed67a2ab110ab273cc0719b707..0000000000000000000000000000000000000000 --- a/regapp-saml/src/main/java/edu/kit/scc/webreg/service/saml/HttpSignableSoapClient.java +++ /dev/null @@ -1,56 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2014 Michael Simon. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the GNU Public License v3.0 - * which accompanies this distribution, and is available at - * http://www.gnu.org/licenses/gpl.html - * - * Contributors: - * Michael Simon - initial - ******************************************************************************/ -package edu.kit.scc.webreg.service.saml; - -import java.io.Serializable; - -import org.apache.hc.client5.http.classic.HttpClient; -import org.opensaml.soap.client.http.HttpSOAPClient; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -import net.shibboleth.shared.xml.ParserPool; - -public class HttpSignableSoapClient extends HttpSOAPClient implements Serializable { - - private static final long serialVersionUID = 1L; - - private static Logger logger = LoggerFactory.getLogger(HttpSignableSoapClient.class); - - public HttpSignableSoapClient(HttpClient client, ParserPool parser) { - super(); - setHttpClient(client); - setParserPool(parser); - } - -// @Override -// protected RequestEntity createRequestEntity(Envelope message, Charset charset) throws SOAPClientException { -// try { -// Marshaller marshaller = Configuration.getMarshallerFactory().getMarshaller(message); -// ByteArrayOutputStream arrayOut = new ByteArrayOutputStream(); -// -// Element element = marshaller.marshall(message); -// try { -// Signer.signObject(signature); -// } catch (SignatureException e) { -// throw new SOAPClientException(e); -// } -// -// if (logger.isDebugEnabled()) { -// logger.debug("Outbound SOAP message is:\n" + SerializeSupport.prettyPrintXML(element)); -// } -// SerializeSupport.writeNode(element, arrayOut); -// return new ByteArrayRequestEntity(arrayOut.toByteArray(), "text/xml"); -// } catch (MarshallingException e) { -// throw new SOAPClientException("Unable to marshall SOAP envelope", e); -// } -// } -}