SOSI release 2.5.5 dated 12. december 2020 --------------------------------------------------------------- - Added functionality for Seal to verify IDWS tokens [SDS-3730] SOSI release 2.5.0 dated 7. may 2019 --------------------------------------------------------------- - Updated maven compiler to JDK 1.8 - Added helpers and model for JWT to OIOSAML token exchange SOSI release 2.4.5 dated 5. juli 2018 --------------------------------------------------------------- - Cpr claim (on SAML level) no longer necessary when exchanging JWT token SOSI release 2.4.3 dated 3. juli 2018 --------------------------------------------------------------- - SDS-2655: Added API support for requesting citizen identity tokens based on JWT (JSON web tokens). - Removed references to "illegal" external repositories SOSI release 2.4.2 dated 11. may 2018 --------------------------------------------------------------- - SDS-2542: Changed name for procuration claims to urn:dk:healthcare:saml:actThroughProcurationBy:cprNumberIdentifier to better match new IDWS_XUA profile SOSI release 2.4.1 dated 11. april 2018 --------------------------------------------------------------- - Development moved to SVN repo under https://svn.nspop.dk - Added support for procuration claims to STS token-exchange for citizen tokens (in requests) - Added partial support for OIO Basic Privilege Profile v1.0.1 to STS token-exchange for citizen tokens (in responses) --------------------------------------------------------------- SOSI release 2.3.2 dated 22. november 2017 - updated NemLog-in issued test assertions - updated STS integration tests to match updated test data - updated Apache Santuario (xmlsec) to 1.4.8 - added getSigningCertificate() on OIOSAMLAssertion --------------------------------------------------------------- SOSI release 2.3.1 dated 28. march 2017 - updated expired test certificates - added NemLog-in signed assertion and bootstrap token for test purposes --------------------------------------------------------------- SOSI release 2.3.0 dated 28. february 2017 - added functionality to handle WS-Trust messages for STS token-exchange for citizen tokens - from OIO Bootstrap token to IDWS Identity Token - from Encrypted OIOSAML assertion to IDWS Identity Token --------------------------------------------------------------- SOSI release 2.2.7 dated 3. june 2016 - Seal now also accepts messages where first soap-headers are in WS-Addressing 1.0 namespace - Bugfix: Invalid SecurityTokenRequests could cause nullpointers, now exceptions with detailed error messages are thrown instead --------------------------------------------------------------- SOSI release 2.2.6 dated 9. june 2015 - Adjusted unittests after expired (IG) test certificate --------------------------------------------------------------- SOSI release 2.2.5 dated 20. february 2015 - Bugfix: Made DistinguishedName parsing more robust --------------------------------------------------------------- SOSI release 2.2.4 dated 15. january 2015 - Removed unused IG test certificates - Transformed unit-tests that depended on online OCES resources into integration-tests (all unit-tests in seal module can now be run offline) --------------------------------------------------------------- SOSI release 2.2.3 dated 9. january 2015 - Updated test-cases that depended on old Test-STS certificate - Fixed an issue with parsing DistinguishedNames from certificates located in Luna HW module - Schema validation in OIOSAML functionality now no longer depends on internal jdk classes - Migrated OCES2 testcases from IG to PP environment - Removed trust and support for IG test certificates - Removed support for OCES1 and trust to previous (OCES1) STS certificate - Bugfix: IDCard signing in SOAPMessageDOMBuilder now works with a generic SignatureProvider - Bugfix: Signature validation for OIOSAMLAssertions now also works for OIOSAMLAssertions that contain other signed parts - dropped support for Java 5 --------------------------------------------------------------- SOSI release 2.2.2 dated 28. october 2014 - Improved error handling for DGWS/IDWS violations when parsing messages - Migrated testcases to OCES2 test certificates (as OCES1 is being shutdown soon) --------------------------------------------------------------- SOSI release 2.2.1 dated 13. august 2014 - Upgraded Bouncy Castle to 1.51 (due to API changes in Bouncy Castle 1.47 Seal no longer works with Bouncy Castle version 1.46 and below) - Updated PP test-certificates used in integration test --------------------------------------------------------------- SOSI release 2.2.0 dated 3. june 2014 - Change: SOSIFactory#deserializeSecurityTokenResponse per default no longer checks whether the certificate that signed the IDCard contained in the STS response is trusted. The trust-check can however be re-enabled by setting SOSIFactory.PROPERTYNAME_SOSI_CHECK_TRUST_FOR_SECURITY_TOKEN_RESPONSE property to true in the Properties object passed to the SOSIFactory constructor - Added OCES2 support for LDAP based certificate retrieval - Updated failing integration test in test-tools due to other (improved) STS error response --------------------------------------------------------------- SOSI release 2.1.9 dated 24. february 2014 - Improved error message when CRL based revocation control fails - Updated testcases to use not-expired certificates --------------------------------------------------------------- SOSI release 2.1.8 dated 26. september 2013 - Bugfix: Relaxed schema validation for IdentityTokens allowing nonnumerical saml:NameIDs --------------------------------------------------------------- SOSI release 2.1.7 dated 6. september 2013 - Updated tests to run against common STS test-environment instead of pan.certifikat.dk (which has been shutdown) - Updated expired DanID Foces test-certificate - Made OCES root certificates public - Fixed XML signature when running on IBM JRE - Added validateTimestamp(long allowedDriftInSeconds) to OIOSAMLToken --------------------------------------------------------------- SOSI release 2.1.6 dated 1. february 2013 - Added methods for signature validation directly on IDCard - Upgraded Apache Santurio to 1.4.7 (used for XML signature and encryption) - Upgraded commons codec to 1.6 - Upgraded unboundid ldapsdk to 2.3.1 - Added functionality to create and parse OIOWSTrust messages in order to exchange SOSI idcards to (encrypted) OIOSAMl assertions an STS - Made OIOSAML assertion to/from SOSI IDCard functionality work on Java 5 - Added functionality to construct SAML Unsolicited Responses --------------------------------------------------------------- SOSI release 2.1.5_1 dated 17. december 2012 - Fixed IDCard signing with CredentialPair in Luna HSM --------------------------------------------------------------- SOSI release 2.1.5 dated 21. november 2012 - Removed unnecessary 'enveloped' signature transformations in order to ensure interoperability with seal.net --------------------------------------------------------------- SOSI release 2.1.4 dated 15. november 2012 - Added OIOSAMLFactory with functionality to create and parse OIOWSTrust messages in order to exchange OIOSAMl assertions to SOSI idcards at an STS - Added functionality to add extra fault details to error replies - Updated OCES 1 test certificates Limitations: New OIOSAML assertion to SOSI idcard functionality requires at least Java 6 --------------------------------------------------------------- SOSI release 2.1.3 dated 6. june 2012 - Updated to valid test-certificate for ldap-based tests and re-enabled tests - Improved LibertyRequestModelBuilder - Introduced SignatureProvider as an alternative to CredentialVault - Added CredentialVaultSignatureProvider as adapter - deprecated methods in SignatureUtil - introduced workaround for running Seal together with WSS4J - Fixed issue concerning multi-threaded access to readonly FileBasedCredentialVault Known issues: Liberty functionality in Seal does not work together with WSS4J (and hence products that depend on it like Apache Rampart) --------------------------------------------------------------- SOSI release 2.1.2 dated 26. october 2011 - Updated expired test-certificate --------------------------------------------------------------- SOSI release 2.1.1 dated 6. october 2011 - added serialnumber check in federation certificate lookup - deprecated AxisUtil (including DOMBodyElement and DOMHeaderElement used by AxisUtil) - schema validation now also works for IDWSH messages that haven't been serialized (useful for testing) - Seal now no longer depends on xerces and xml-apis - Seal now only depends on jdom for testing - Seal now depends on wss4j - removed automatic check of validity in time for identity tokens on client-side API - upgraded Xalan to 2.7.1 - added LibertyRequestDOMEnhancer to build OIOIDWS Liberty SOAP messages - added preliminary LibertyRequestModelBuilder to parse OIOIDWS Liberty SOAP messages (to be improved in next Seal release) --------------------------------------------------------------- SOSI release 2.1.0 dated 15. august 2011 - fixed signature validation for serialized Identity Tokens - updated 'Programmers Guide' with new IDWSH API - ensured interopability with Seal.NET for serialized Identity Tokens - added trust to the new foces-based federation-certificates (RFC 2011-031) --------------------------------------------------------------- SOSI release 2.1.0-beta-1 dated 15. july 2011 - added new IDWSHFactory with support for: - creating/parsing IDWS-H Identity Token Requests - creating/parsing IDWS-H Identity Token Responses - serializing/deserializing IDWS-H Identity Token to/from URL parts - support for certificate retrieval from OCES operators LDAP trees - upgraded Xerces to 2.11.0 - upgraded Xml-api to 1.4.01 - Seal depends now on UnboundID LDAP SDK for LDAP access Known issues: - signature validation is not working on serialized Identity Tokens yet --------------------------------------------------------------- SOSI release 2.0.0 dated 12. may 2011 - added Luna HSM based CredentialVault implementation - extended SOSIFactory#copyToVOCESSignedIDCard (CAB-RFC-2011-003) - removed testtools module from binary distribution - added root certificate for PP Test environment (besides the root certificate for IG environment) --------------------------------------------------------------- SOSI release 2.0.0-rc-1 dated 15. april 2011 - added revocationcheck including a CRL based implementation - added OCES2 production root certificate - dropped support for Java 1.4 --------------------------------------------------------------- SOSI release 2.0.0-beta-1 dated 1. March 2011 - SOSI factory has been refactored to support OCES2. - SOSIFederation and SOSITestFederation now require an IntermediateCertificateCache to handle OCES2 intermediate certificates, Seal provides an InMemoryCertificateCache and an IntermediateCertificateCacheHelper to retrieve the intermediate certificates. - Seal now depends on Bouncy Castle, both as an X509 provider under Java 1.4, since SUNs provider in Java 1.4 cannot handle SHA256, but also as a DER Octet string handler, used for retrieving the location of the intermediate certificate. As of Seal 2.0, Bouncy Castle is therefore required at all times. - Seal depends now on Commons HttpClient 3.1 (used in IntermediateCertificateCacheHelper) - XML security has been updated to 1.4.4 - Maven build process has been cleaned and several warnings have been removed. - Coverage has been increased to approx 90 %. - updated certificates used in unit-tests --------------------------------------------------------------- SOSI release 1.5.13 dated 27. January 2010 - bugfix: Seal now also parses request without the optional element - bugfix: CredentialVaults now trust their own SystemCredentialPair (RFC 2009-012) --------------------------------------------------------------- SOSI release 1.5.12 dated 12. August 2009 - bugfix: Seal now parses CDATA sections correctly - updated certificates and certificate chains used in unit tests --------------------------------------------------------------- SOSI release 1.5.11 dated 4. November 2008 - added support for AuthenticationLevel 2 (username/password) - added new constructors for creating idcards to accomodate AuthenticationLevel 2 in SOSIFactory and deprecated the previous ones - improved parameter validation for model classes - removed deprecated methods from SOSIFactory --------------------------------------------------------------- SOSI release 1.5.10 dated 28. July 2008 - added support for deserializing request or reply headers alone (without parsing the entire soap message) - Updated axis2 demo to use methods for deserializing request and reply headers - Updated axis2 demo to illustrate how an idcard can be set on the request from the invoking client - Optimized schema loading --------------------------------------------------------------- SOSI release 1.5.9 dated 25. February 2008 - Bug-fix: Seal can now again deserialize SecurityTokenRequests with IDCards without CPR --------------------------------------------------------------- SOSI release 1.5.8 dated 13. February 2008 - added support for additional non-sosi headers in 'specialized' soap-schema (which by default is used for validation) - added support for specifying an alternative identifier for an IDCard, which will be used as saml:subject. - added IDCard validation in IDCardModelBuilder - bugfix: UserOccupation does now get serialized as well - better validation of IDCard attributes - added support for DGWS 1.0.1 (Zulu-time): - SOSIFactory per default creates Request and SecurityTokenRequests as DGWS 1.0.1 messages - SOSIFactory can be configured to create DGWS 1.0 Request and SecurityTokenRequests by setting the 'sosi:dgws.version' property to '1.0' - SOSIFactory creates Replies and SecurityTokenResponses (including errors) either based on a Request/SecurityTokenRequest (taking the DGWS version from the request) or by specifying the the version explicitly in the factory method --------------------------------------------------------------- SOSI release 1.5.7 dated 24. October 2007 - Fixed issue with hard-coded namespace prefix in IDCard.getSignedByCertificate() and IDCard.generateCertHash() - Relaxed schema validation (for specialized schemas) to facilitate .Net interoperability - Enabled off-line schema-validation for non-specialized schemas --------------------------------------------------------------- SOSI release 1.5.6 dated 4. October 2007 - medcom.xsd now permit attributes in Header element - setBody(Node) changed to setBody(Element) (and getBody() accordingly) for better type safety - Lvl 1 SOSI.NET requests now supported - Non Sosi headers will now stay on Request if parsed through SOSI - Added SOSIFactory.PROPERTYNAME_SOSI_SEAL_MESSAGE_VERSION - configure Seal to handle older message versions. - Defaults to version 1.0_0 - Notice: not the same as DWGS Version - Added PROPERTYNAME_SOSI_VALIDATE_ENHANCED - configure Seal to validate against specialized xmlschemas instead of original schemas - Defaults to true - Sosi message format is changed to confirm to original xmlschemas (for AuthenticationLevel 1 only) - soap:Envelope id changed to wsu:id - saml:Assertion id attribute renamed to ID - saml:SubjectConfirmation Method attribute added - saml:ConfirmationMethod element removed - XPath handling changed to support WebSphere Xerces version - Added Axis2 demo - Removed IDP demo - demo application mow uses the official TestSTS instead - Removed UserRole class used by UserIDCard - Role is now just a String allowing arbitrary userroles - Hardcoded namespace-prefixes removed - Seal now accepts arbitrary namespace-prefixes - Added support for XML deserialization of IDCard in SOSIFactory - Performance test for binary and xml IDCard serialiation/deserialization . - Fixed demo applications to throw DGWSFaults instead of custom exceptions - Removed demos from binary distribution - Changed API for external signing of IDCard: The certificate now first has to be specified in IDCard.injectSignature() not when calling IDCard.getBytesForSigning() --------------------------------------------------------------- SOSI release 1.5.5 dated 28. Mar 2007 - IDCards now namespace-selfcontained - UserIDCards binary serialization fixed --------------------------------------------------------------- SOSI release 1.5.4 dated 16. Mar 2007 - UTF-8 encoding problem fixed - IDCard and associated classes are now binary serializable --------------------------------------------------------------- SOSI release 1.5.3 dated 8. Mar 2007 - Caching of DocumentFactoryBuilder in XmlUtil is now configurable. Default is still "true". - Fixed a possible (but somewhat unlikely) thread safety issue, when using the library in "mixed" conditions, where some threads are validating while parsing DOM while others are not. The symptoms would be requesting a non-validating DocumentBuilder but recieving a validating builder or vice-versa. --------------------------------------------------------------- SOSI release 1.5.2 dated 26. feb 2007 IDCard isValidInTime fixed and tested --------------------------------------------------------------- SOSI release 1.5.1 dated 22. feb 2007 TestTools - now runs without referencing folders - default it does output requests/responses via sositest:saveoutput property - loads *.jks, templates from classpath Formatted XML - added convenience method removeFormatting() on XmlUtil --------------------------------------------------------------- SOSI release 1.5 dated 19. Jan 2007 CryptoProvider setup changed - removed Bouncy Castle as a runtime dependency when using SOSIFactory - introduced CryptoFacade to handle non-JCE govened crypto methods. - introduced SignatureUtil.setupCryptoProviderForJVM() - a utility for setting up cryptoprovider properties in sosi based on the running vm - if cryptoprovider properties are set or defaults to Bouncy Castle, this provider is automatically added Federation - properties and defaultvalues removed: sosi:federation and sosi.federation.revocationcheck - SOSIFactory(CredVault, Props) logic changed. no implicit federation added any longer. - Federation.createNewFederation() is removed - use constructors on concret xxxFederation instead - Changed default CertificateStatusChecker to NaiveCertificateStatusChecker Properties - all static properties are removed. Supply all properties to SOSIFactory constructor. - changed SOSI_DEFAULT_AUDIT_EVENT_HANDLER = "dk.sosi.seal.pki.NoAuditEventHandler". Corrected WS-Trust generation error: RequestSecurityTokenRequest to RequestSecurityToken AxisUtil: - AxisUtil class added - helps with appending SOSI DOM to SoapEnvelope Namespaces on generated Fault messages reduced Removed unused features - encrypt, decrypt - all deprecated methods and classes (and refactored all references to deprecated methods and classes). Unittests can now be run with or without BC on classpath, when using JDK1.5 (some tests will automatically get disabled though) Demo - CPRDemo now runs with axis generated body model, implicit sosiheaders in wsdl, sosi handlers and exception handling Testtools - sts template role changed from nurse to doctor - Changed from system properties to ordinary properties - Userinfo and Securitylevel bugs in testtools fixed (rev. 668) Dependencies: - Removed dependency to Xalan for JDK 1.5 Documentation: - Runtime dependencies for JRE 1.4 and 1.5 are documented in the programmers guide. --------------------------------------------------------------- SOSI release 1.4.1 dated 3. jan 2007 New idcards now expire correctly after 24 hours Test sourcecode is now included in release --------------------------------------------------------------- SOSI release 1.4 dated 22. dec 2006 Methods on CredentialVault concerning trust verification has been deprecated. Use of Federation mechanism, with automatic trust verification, is recommended CredentialVault will not be used for trust verification if federation is specified. Introduced AuditEventHandler allowing applications to be notified on informational, warning and error audit events. Default implementation logs event information by apache commons-logging, but may be overridden. Removed explicit dependency of bouncycastle jce security provider. SOSI runtime system will run only by means of standard Sun JCE provider (1.4 enhanced, 1.5), or any other suitable jce provider supplied to the SOSI library. Please refer to user documentation on how to specify alternative security providers. SOSI Seal tool operations still needs external #PKCS12 support when running in 1.4 CRL strategy for TDCOCESAuthority has been changed in favor of an asynchronous download of full CRL. CRL cache implementation may be customized by implementing interface ObjectCache CRL control by full CRL may be overridden by implementing interface CertificateStatusChecker Interface CertificateStatusCheckErrorHandler has been deprecated. It is rather recommended to implement an instanceof AditEventHandler Deprecated interface CertificateStatusChecker. Recommended method is to implement a custom federation and supply to the constructor of SOSIFactory IDcard attribute validation - IDCard attributes is now validated when added to Message (this is done because there is different validationrules on each type of message) - When deserializing IDCard version is now checked if compatible with framework The attribute userOccupation is now available from the model Securityprovider properties - renamed and split up so every crypto feature can be handled individually - changed from static to be added to SOSIFactory instance properties - can now be added to Seal Tool also FaultActor on STS responses - Added member/element "faultactor" on SecurityTokenResponse (when failing). - New parameter on SOSIFactory when creating SecurityTokenResponse failures. Better check for missing and confusing elements in IDCards - missing IDCardData or SystemLog elements now fails while deserializing - missing UserLog in UserIDCards fails while deserializing - confusing UserLog element in SystemIDCards now fails while deserializing saml:Subject in serialized System ID cards contained invalid value according to DGWS 1.0. This has now been fixed. TestTools module added - contains classes for generating SecurityTokenRequests and Requests containing different types of valid and invalid IDCards. --------------------------------------------------------------- SOSI release 1.3 dated 16. nov 2006 Introduced Federation - Hooked up trust verification in GenericCredentialVault - Added correct subject serial numbers for the two federations Revocation check implemented Added TDC credential pair issuer Implemented issue seal command Securityprovider for PKCS12 and RSA is defaulted to Bouncy Castle - System Property sosi:pkcs12provider added so another provider than Bouncy Castle can be choosed - System Property sosi:rsaprovider added so another provider than Bouncy Castle can be choosed - This enables Seal to run on IBM sdk's (if Bouncy Castle is installed) OCESCertHash can now be handled by the STS - hence the certhash is optional on SecurityTokenRequest Added SOSI methods: - new constructors on Message subclasses containing certHash Schema validation mechanism is changed for backward compatibility issues Property sosi:rootschema added to specify root schema file to validate against. - this is handy if you want your message body validated aswell CPR Demo service flow added - this shows how a securitylevel 1 service could be made --------------------------------------------------------------- SOSI release 1.2 dated 27. oct 2006 Authentication Level 1 now supported New SOSI factory methods introduced: - createNewSystemIDCard(.., AuthenticationLevel, ..) SOSI factory methods deprecated: - createNewSystemIDCard(..) EmptyCredentialVault added Useful if you only want to support Authentication Level 1, where no credentials is needed CPR is now optional in SecurityTokenRequests New SOSI factory methods introduced: - copyToVOCESSignedIDCard(IDCard idcard, String CPR) --------------------------------------------------------------- SOSI release 1.1 dated 09. oct 2006 IdP communication changed from SAML to WS-Trust specifications. New SOSI factory methods introduced: - createNewSecurityTokenRequest - createNewSecurityTokenResponse with corresponding deserializers - deserializeSecurityTokenRequest - deserializeSecurityTokenResponse Renewal The library now supports renewal of TDC VOCES certificates. Clients can choose to renew certificates in any of the following ways: - using the seal command tool - using RenewableFileBasedCredentialVault and its renew() method - using TDCCredentialPairRenewer and its renew(CredentialPair pair) method ---------------------------------------------------------------