Git Product home page Git Product logo

Comments (3)

Dacesilian avatar Dacesilian commented on July 17, 2024

Verze závislostí je vhodné upravit takto:

<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<maven.compile.source>10</maven.compile.source>
		<maven.compile.target>10</maven.compile.target>

		<cxf.version>3.2.5</cxf.version>
		<junit.version>4.12</junit.version>
		<slf4j.version>1.7.24</slf4j.version>
		<log4j.version>2.11.1</log4j.version>
		<maven-failsafe.version>2.19.1</maven-failsafe.version>
		<jacoco.version>0.7.7.201606060606</jacoco.version>
		<maven-source-plugin.version>3.0.1</maven-source-plugin.version>
		<maven-javadoc-plugin.version>2.10.4</maven-javadoc-plugin.version>
		<jaxb.version>2.3.0.1</jaxb.version>
	</properties>

a přidat závislosti:

<dependency>
			<groupId>javax.xml.bind</groupId>
			<artifactId>jaxb-api</artifactId>
			<version>2.3.0</version>
		</dependency>
		<dependency>
			<groupId>com.sun.xml.bind</groupId>
			<artifactId>jaxb-impl</artifactId>
			<version>${jaxb.version}</version>
		</dependency>
		<dependency>
			<groupId>com.sun.xml.bind</groupId>
			<artifactId>jaxb-core</artifactId>
			<version>${jaxb.version}</version>
		</dependency>
		<dependency>
			<groupId>javax.xml.ws</groupId>
			<artifactId>jaxws-api</artifactId>
			<version>2.3.0</version>
		</dependency>
		<dependency>
			<groupId>com.sun.xml.ws</groupId>
			<artifactId>jaxws-rt</artifactId>
			<version>2.3.0.2</version>
		</dependency>
		<dependency>
			<groupId>com.sun.activation</groupId>
			<artifactId>javax.activation</artifactId>
			<version>1.2.0</version>
		</dependency>
		<dependency>
			<groupId>com.sun.xml.messaging.saaj</groupId>
			<artifactId>saaj-impl</artifactId>
			<version>1.4.0</version>
		</dependency>
<dependency>
			<groupId>javax.annotation</groupId>
			<artifactId>javax.annotation-api</artifactId>
			<version>1.3.2</version>
		</dependency>

V testu MerlinWithCRLDistributionPointsExtensionTest je možné volat crypto.verifyTrust(certsPlayground, enableRevocation, subjectCertConstraints, null);, protože matchesName ve třídě CryptoBase vrací při null true. Původní protected verifyTrust je volán tak jako tak, tedy by mělo být vše v pořádku.

Nyní testy projdou, nicméně v konzoli hází chyby - connect timed out (to nevím, zda je dobře) a nedůvěryhodný certifikát (CertPathValidatorException: Path does not chain with any of the trust anchors) (to je minimálně v testu testInvalidResponseSignature správně).

Pro zkompilování Mavenem je potřeba zvýšit verze pluginů, alespoň cxf-codegen-plugin na 3.2.6.

Playground vrací chybu <eet:Chyba kod="4" test="true">Neplatny podpis SOAP zpravy</eet:Chyba>, ale produkce snad funguje.

from eet-client.

todvora avatar todvora commented on July 17, 2024

Super nápad, díky. Bylo by prosím možné změny dodat jako pull request?

from eet-client.

Dacesilian avatar Dacesilian commented on July 17, 2024

Ano, #40

from eet-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.