Comments (3)
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.
Super nápad, díky. Bylo by prosím možné změny dodat jako pull request?
from eet-client.
Ano, #40
from eet-client.
Related Issues (20)
- Neplatny podpis HOT 1
- Library cxf-rt-transports-http is not needed in 3.0.0-beta-5 anymore HOT 3
- Dependency conflict HOT 1
- NullPointerException in EetErrorConverter HOT 10
- Remove BouncyCastle dependency HOT 9
- Change dependency from log4j to slf4j-api HOT 4
- JCE - warning when limited keys length detected
- InMemoryCRLStore update during submit HOT 2
- Is there a way to use it on Android? HOT 10
- Merylin crypto instance
- Expired crls-demo/prod-cert.pem certificates HOT 3
- Certificate expired HOT 3
- JDK 11 issue? HOT 1
- Inquiry for cooperation HOT 4
- cz.etrzby.xml.ObjectFactory HOT 1
- Missing artifact HOT 2
- Remove BouncyCastle HOT 5
- Support for Java 16 - use latest Apache CXF version
- Cannot resolve the name 'tns:TrzbaType' to a(n) 'type definition' component
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eet-client.