Releases: phax/phase4
phase4 2.2.2
- Updated to peppol-commons 9.0.8
- The "Certificate Consumer" in the Peppol client is now also invoked, when
.checkReceiverAPCertificate(false)
is called - The class
AbstractENTSOGUserMessageBuilder
is now derived fromAbstractAS4UserMessageBuilderMIMEPayload
and yet customization of the attachment part works - The class
AbstractBDEWUserMessageBuilder
is now derived fromAbstractAS4UserMessageBuilderMIMEPayload
and yet customization of the attachment part works - Added new interface
IAS4SendingDateTimeConsumer
to determine the effective sending date and time - Made the determination of the effective sending date and time more consistent
- In the Peppol client, the country code of C1 will be checked for mandatoriness from 1.1.2024 onwards
- Added new interface
IWSSecSignatureCustomizer
to customize createdWSSecSignature
objects. Handle with care - Added support for Peppol Reporting via the
peppol-reporting-api
project as defined in https://github.com/phax/peppol-reporting
Full Changelog: phase4-parent-pom-2.2.1...phase4-parent-pom-2.2.2
Dependencies required:
- ph-bc/ph-collection/ph-commons/ph-dao/ph-datetime/ph-jaxb/ph-json/ph-scopes/ph-security/ph-settings/ph-xml 11.1.2
- ph-xsds-xmldsig 3.0.0
- ph-http/ph-httpclient/ph-mail/ph-network/ph-servlet/ph-useragent/ph-web 10.1.5
- ph-oton-io/ph-oton-audit/ph-oton-security 9.2.0
- ph-masterdata/ph-tenancy 7.0.1
- peppol-commons/peppol-id/peppol-sbdh/peppol-smp-client 9.0.8
- phive-engine 8.0.1
- phive-rules-peppol 3.0.5
- angus-mail 2.0.2
- angus-activation 2.0.1
- httpclient 5.2.1
- BouncyCastle 1.76
- WSS4J 3.0.1
- XMLSec 3.0.2
- Servlet API 5.0.x
- JAXB 4.0.x
- SLF4J 2.0.x
phase4 2.2.1
- Updated to ph-oton 9.2.0 for reduced dependencies
- Reduced defined versions in the parent-pom and moved it to the module POMs where applicable
Full Changelog: phase4-parent-pom-2.2.0...phase4-parent-pom-2.2.1
Dependencies required:
- ph-bc/ph-collection/ph-commons/ph-dao/ph-datetime/ph-jaxb/ph-json/ph-scopes/ph-security/ph-settings/ph-xml 11.1.2
- ph-xsds-xmldsig 3.0.0
- ph-http/ph-httpclient/ph-mail/ph-network/ph-servlet/ph-useragent/ph-web 10.1.5
- ph-oton-io/ph-oton-audit/ph-oton-security 9.2.0
- ph-masterdata/ph-tenancy 7.0.1
- peppol-commons/peppol-id/peppol-sbdh/peppol-smp-client 9.0.7
- phive-engine 8.0.1
- phive-rules-peppol 3.0.5
- angus-mail 2.0.2
- angus-activation 2.0.1
- httpclient 5.2.1
- BouncyCastle 1.76
- WSS4J 3.0.1
- XMLSec 3.0.2
- Servlet API 5.0.x
- JAXB 4.0.x
- SLF4J 2.0.x
phase4 2.2.0
- Allowing separate
IAS4CryptoFactory
configurations for signing/signature verification and encrypting/decrypting. See issue #139 - thanks @sopgreg - Most internal APIs that previously took one parameter for "cryptoFactory" now take two parameters for "cryptoFactorySign" and "cryptoFactoryCrypt"
- Removed
IAS4CryptoFactory.isAllowRSA15KeyTransportAlgorithm()
- The configuration property
org.apache.wss4j.dom.handler.RequestData.allowRSA15KeyTransportAlgorithm
is no longer supported - As an alternative the interface
IAS4DecryptParameterModifier
was introduced to allow even more fine-grained customization
- The configuration property
- Improved the unique PMode determination, by comparing all fields of Initiator and Responder. See issue #118 - thanks @sopgreg
- Removed the
Serializable
interface from objects where it is not needed - The interface
IPModeIDProvider
now relies on thePModeParty
of initiator and responder instead on the ID only - Allowed an external customization of the
WSSConfig
object created for decryption. See issue #150 - thanks @sopgreg- This and the
RequestData
object can be customized via a callback usingIAS4DecryptParameterModifier
- This and the
What's Changed
- Add pom.xml.versionsBackup to .gitignore by @sopgreg in #151
- Set setEncryptSymmetricSessionKey to false for BDEW sender by @sopgreg in #152
Full Changelog: phase4-parent-pom-2.1.5...phase4-parent-pom-2.2.0
Dependencies required:
- ph-bc/ph-collection/ph-commons/ph-dao/ph-datetime/ph-jaxb/ph-json/ph-scopes/ph-security/ph-settings/ph-xml 11.1.2
- ph-xsds-xmldsig 3.0.0
- ph-http/ph-httpclient/ph-mail/ph-network/ph-servlet/ph-useragent/ph-web 10.1.5
- ph-oton-app/ph-oton-audit/ph-oton-html/ph-oton-security 9.1.4
- ph-css 7.0.1
- ph-masterdata/ph-tenancy 7.0.1
- peppol-commons/peppol-id/peppol-sbdh/peppol-smp-client 9.0.7
- phive-engine 8.0.1
- phive-rules-peppol 3.0.5
- angus-mail 2.0.2
- angus-activation 2.0.1
- httpclient 5.2.1
- BouncyCastle 1.76
- WSS4J 3.0.1
- XMLSec 3.0.2
- Servlet API 5.0.x
- JAXB 4.0.x
- SLF4J 2.0.x
phase4 2.1.5
- Reverted the incorrect use of the Binary Security Token value type "#X509PKIPathv1" for Peppol and others (introduced in v2.1.3). Only BDEW needs this. See Discussion #149 - thanks to @binaradarsha
Full Changelog: phase4-parent-pom-2.1.4...phase4-parent-pom-2.1.5
Dependencies required:
- ph-bc/ph-collection/ph-commons/ph-dao/ph-datetime/ph-jaxb/ph-json/ph-scopes/ph-security/ph-settings/ph-xml 11.1.0
- ph-xsds-xmldsig 3.0.0
- ph-http/ph-httpclient/ph-mail/ph-network/ph-servlet/ph-useragent/ph-web 10.1.4
- ph-oton-app/ph-oton-audit/ph-oton-html/ph-oton-security 9.1.3
- ph-css 7.0.1
- ph-masterdata/ph-tenancy 7.0.1
- peppol-commons/peppol-id/peppol-sbdh/peppol-smp-client 9.0.7
- phive-engine 8.0.1
- phive-rules-peppol 3.0.5
- angus-mail 2.0.2
- angus-activation 2.0.1
- httpclient 5.2.1
- BouncyCastle 1.75
- WSS4J 3.0.1
- XMLSec 3.0.2
- Servlet API 5.0.x
- JAXB 4.0.x
- SLF4J 2.0.x
phase4 2.1.4
- Updated to WSS4J 3.0.1
- Updated to ph-commons 11.1
- Add a possibility to customize the
signingParams
andcryptParams
inAbstractAS4MessageBuilder
- Made the Java security Provider for encryption customizable
- Increased customizability of security configuration
Don't use this version for Peppol - regression since 2.1.3, fixed in 2.1.5
What's Changed
New Contributors
- @problemzebra2 made their first contribution in #148
Full Changelog: phase4-parent-pom-2.1.3...phase4-parent-pom-2.1.4
Dependencies required:
- ph-bc/ph-collection/ph-commons/ph-dao/ph-datetime/ph-jaxb/ph-json/ph-scopes/ph-security/ph-settings/ph-xml 11.1.0
- ph-xsds-xmldsig 3.0.0
- ph-http/ph-httpclient/ph-mail/ph-network/ph-servlet/ph-useragent/ph-web 10.1.4
- ph-oton-app/ph-oton-audit/ph-oton-html/ph-oton-security 9.1.3
- ph-css 7.0.1
- ph-masterdata/ph-tenancy 7.0.1
- peppol-commons/peppol-id/peppol-sbdh/peppol-smp-client 9.0.7
- phive-engine 8.0.1
- phive-rules-peppol 3.0.5
- angus-mail 2.0.2
- angus-activation 2.0.1
- httpclient 5.2.1
- BouncyCastle 1.75
- WSS4J 3.0.1
- XMLSec 3.0.2
- Servlet API 5.0.x
- JAXB 4.0.x
- SLF4J 2.0.x
phase4 2.1.3
- Updated to BouncyCastle 1.75
- Improved support for the COUNTRY_C1 field in Peppol SBDH
- Added a consistency check to avoid that pre-built SBD documents are used with the plain Peppol sender builder
- The BinarySecurityToken for signed AS4 messages now uses the
ValueType
of...#X509PKIPathv1
by default - The default response timeout for Peppol client messages was changed from 5 minutes to 2 minutes to reflect SLA changes
- Added new interface
IAS4IncomingSecurityConfiguration
to customizeAS4RequestHandler
security configuration
Don't use this version for Peppol - regression since 2.1.3, fixed in 2.1.5
What's Changed
- Fix for BDEWPayloadParams#m_aDocumentNumber by @mmwlk in #137
- Fix small typo resulting from copy&paste by @sopgreg in #140
New Contributors
Full Changelog: phase4-parent-pom-2.1.2...phase4-parent-pom-2.1.3
Dependencies required:
- ph-bc/ph-collection/ph-commons/ph-dao/ph-datetime/ph-jaxb/ph-json/ph-scopes/ph-security/ph-settings/ph-xml 11.0.6
- ph-xsds-xmldsig 3.0.0
- ph-http/ph-httpclient/ph-mail/ph-network/ph-servlet/ph-useragent/ph-web 10.1.1
- ph-oton-app/ph-oton-audit/ph-oton-html/ph-oton-security 9.1.1
- ph-css 7.0.0
- ph-masterdata/ph-tenancy 7.0.0
- peppol-commons/peppol-id/peppol-sbdh/peppol-smp-client 9.0.6
- phive-engine 8.0.1
- phive-rules-peppol 3.0.5
- angus-mail 2.0.2
- angus-activation 2.0.1
- httpclient 5.2.1
- BouncyCastle 1.75
- WSS4J 3.0.0
- XMLSec 3.0.2
- Servlet API 5.0.x
- JAXB 4.0.x
- SLF4J 2.0.x
phase4 2.1.2
- Made the session key provider for AS4 encryption session keys customizable
- Made some backwards incompatible changes to the API of
BDEWPayloadParams
so that it is chainable
Full Changelog: phase4-parent-pom-2.1.1...phase4-parent-pom-2.1.2
Dependencies required:
- ph-bc/ph-collection/ph-commons/ph-dao/ph-datetime/ph-jaxb/ph-json/ph-scopes/ph-security/ph-settings/ph-xml 11.0.4
- ph-xsds-xmldsig 3.0.0
- ph-http/ph-httpclient/ph-mail/ph-network/ph-servlet/ph-useragent/ph-web 10.1.1
- ph-oton-app/ph-oton-audit/ph-oton-html/ph-oton-security 9.1.1
- ph-css 7.0.0
- ph-masterdata/ph-tenancy 7.0.0
- peppol-commons/peppol-id/peppol-sbdh/peppol-smp-client 9.0.6
- phive-engine 8.0.1
- phive-rules-peppol 3.0.3
- angus-mail 2.0.2
- angus-activation 2.0.1
- httpclient 5.2.1
- BouncyCastle 1.73
- WSS4J 3.0.0
- XMLSec 3.0.2
- Servlet API 5.0.x
- JAXB 4.0.x
- SLF4J 2.0.x
phase4 2.1.1
- Updated to Spring Boot 3.1.0 fixing CVE-2023-20883
- Requires at least peppol-commons 9.0.6
- Added support for the COUNTRY_C1 field in Peppol SBDH
Full Changelog: phase4-parent-pom-2.1.0...phase4-parent-pom-2.1.1
Dependencies required:
- ph-bc/ph-collection/ph-commons/ph-dao/ph-datetime/ph-jaxb/ph-json/ph-scopes/ph-security/ph-settings/ph-xml 11.0.4
- ph-xsds-xmldsig 3.0.0
- ph-http/ph-httpclient/ph-mail/ph-network/ph-servlet/ph-useragent/ph-web 10.1.1
- ph-oton-app/ph-oton-audit/ph-oton-html/ph-oton-security 9.1.0
- ph-css 7.0.0
- ph-masterdata/ph-tenancy 7.0.0
- peppol-commons/peppol-id/peppol-sbdh/peppol-smp-client 9.0.6
- phive-engine 8.0.1
- phive-rules-peppol 3.0.3
- angus-mail 2.0.1
- angus-activation 2.0.1
- httpclient 5.2.1
- BouncyCastle 1.73
- WSS4J 3.0.0
- XMLSec 3.0.2
- Servlet API 5.0.x
- JAXB 4.0.x
- SLF4J 2.0.x
phase4 1.4.4 [backport]
- Updated to Spring Boot 2.7.12 fixing CVE-2023-20883
- Requiring peppol-commons 8.8.6
- Updated to ph-commons 10.2.4 fixing the issue with surrogate characters. See #123
- Enabled the variable replacement in the default configuration properties. See #128
Full Changelog: phase4-parent-pom-1.4.3...phase4-parent-pom-1.4.4
Dependencies required:
- ph-bc/ph-collection/ph-commons/ph-dao/ph-datetime/ph-jaxb/ph-json/ph-scopes/ph-security/ph-settings/ph-xml 10.2.4
- ph-xsds-xmldsig 2.6.0
- ph-http/ph-httpclient/ph-mail/ph-network/ph-servlet/ph-useragent/ph-web 9.7.2
- ph-oton-app/ph-oton-audit/ph-oton-html/ph-oton-security 8.4.5
- ph-css 6.5.0
- ph-masterdata/ph-tenancy 6.2.4
- peppol-commons/peppol-id/peppol-sbdh/peppol-smp-client 8.8.6
- phive-engine 7.2.4
- phive-rules-peppol 2.1.19
- jakarta.mail 1.6.7
- jakarta.activation 1.2.2
- httpclient 5.1.3
- BouncyCastle 1.72
- WSS4J 2.4.1
- XMLSec 2.3.2
phase4 2.1.0
- Requires at least ph-commons 11.0.4
- Requires at least peppol-commons 9.0.4
- Added new submodules
phase4-profile-bdew
andphase4-bdew-client
to support the German BDEW profile for the gas industry. See PR #122 - thanks to @sopgreg - Added interface
IAS4PModeAwareCryptoFactory
to make keystore / truststore decisions based on the selected PMode. See PR #121 - thanks to @sopgreg - Deprecated class
EXMLDSigDocumentType
- Avoid closing the dumping
OutputStream
more then once. See issue #120 - Fixed support for Surrogate characters for e.g. Japanese
What's Changed
- PR for #117 PMode aware IAS4CryptoFactory by @sopgreg in #121
- BDEW Profile and Client by @sopgreg in #122
New Contributors
Full Changelog: phase4-parent-pom-2.0.0...phase4-parent-pom-2.1.0
Dependencies required:
- ph-bc/ph-collection/ph-commons/ph-dao/ph-datetime/ph-jaxb/ph-json/ph-scopes/ph-security/ph-settings/ph-xml 11.0.4
- ph-xsds-xmldsig 3.0.0
- ph-http/ph-httpclient/ph-mail/ph-network/ph-servlet/ph-useragent/ph-web 10.1.1
- ph-oton-app/ph-oton-audit/ph-oton-html/ph-oton-security 9.1.0
- ph-css 7.0.0
- ph-masterdata/ph-tenancy 7.0.0
- peppol-commons/peppol-id/peppol-sbdh/peppol-smp-client 9.0.4
- phive-engine 8.0.1
- phive-rules-peppol 3.0.3
- angus-mail 2.0.1
- angus-activation 2.0.1
- httpclient 5.2.1
- BouncyCastle 1.73
- WSS4J 3.0.0
- XMLSec 3.0.2
- Servlet API 5.0.x
- JAXB 4.0.x