You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (Jira)" <ji...@apache.org> on 2022/12/16 18:16:00 UTC

[jira] [Updated] (CXF-8809) Migrate LDAP systest cases from ApacheDS to UnboundID LDAP

     [ https://issues.apache.org/jira/browse/CXF-8809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andriy Redko updated CXF-8809:
------------------------------
    Description: 
The ApacheDS project is effectively dead (no releases since 2020), moreover it is not compatible with latest JDK-20+:
{noformat}
java.lang.NoSuchMethodError: 'void sun.security.x509.X509CertInfo.set(java.lang.String, java.lang.Object)'
	at org.apache.directory.server.core.security.CertificateUtil.setInfo(CertificateUtil.java:96)
	at org.apache.directory.server.core.security.CertificateUtil.generateSelfSignedCertificate(CertificateUtil.java:194)
	at org.apache.directory.server.core.security.CertificateUtil.createTempKeyStore(CertificateUtil.java:337)
	at org.apache.directory.server.factory.ServerAnnotationProcessor.instantiateLdapServer(ServerAnnotationProcessor.java:158)
	at org.apache.directory.server.factory.ServerAnnotationProcessor.createLdapServer(ServerAnnotationProcessor.java:318)
	at org.apache.directory.server.factory.ServerAnnotationProcessor.createLdapServer(ServerAnnotationProcessor.java:351) {noformat}
The Apache CXF only uses ApacheDS in LDAP systests, we have to migrate to the supported option , for example UnboundID LDAP (https://github.com/pingidentity/ldapsdk)

  was:
The ApacheDS project is effectively dead (no releases since 2020), moreover it is not compatible with latest JDK-20+:
{noformat}
java.lang.NoSuchMethodError: 'void sun.security.x509.X509CertInfo.set(java.lang.String, java.lang.Object)'
	at org.apache.directory.server.core.security.CertificateUtil.setInfo(CertificateUtil.java:96)
	at org.apache.directory.server.core.security.CertificateUtil.generateSelfSignedCertificate(CertificateUtil.java:194)
	at org.apache.directory.server.core.security.CertificateUtil.createTempKeyStore(CertificateUtil.java:337)
	at org.apache.directory.server.factory.ServerAnnotationProcessor.instantiateLdapServer(ServerAnnotationProcessor.java:158)
	at org.apache.directory.server.factory.ServerAnnotationProcessor.createLdapServer(ServerAnnotationProcessor.java:318)
	at org.apache.directory.server.factory.ServerAnnotationProcessor.createLdapServer(ServerAnnotationProcessor.java:351) {noformat}
The Apache CXF only uses ApacheDS in LDAP systests, we have to migrate to the supported option, for example


> Migrate LDAP systest cases from ApacheDS to UnboundID LDAP
> ----------------------------------------------------------
>
>                 Key: CXF-8809
>                 URL: https://issues.apache.org/jira/browse/CXF-8809
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Andriy Redko
>            Assignee: Andriy Redko
>            Priority: Major
>             Fix For: 4.0.0
>
>
> The ApacheDS project is effectively dead (no releases since 2020), moreover it is not compatible with latest JDK-20+:
> {noformat}
> java.lang.NoSuchMethodError: 'void sun.security.x509.X509CertInfo.set(java.lang.String, java.lang.Object)'
> 	at org.apache.directory.server.core.security.CertificateUtil.setInfo(CertificateUtil.java:96)
> 	at org.apache.directory.server.core.security.CertificateUtil.generateSelfSignedCertificate(CertificateUtil.java:194)
> 	at org.apache.directory.server.core.security.CertificateUtil.createTempKeyStore(CertificateUtil.java:337)
> 	at org.apache.directory.server.factory.ServerAnnotationProcessor.instantiateLdapServer(ServerAnnotationProcessor.java:158)
> 	at org.apache.directory.server.factory.ServerAnnotationProcessor.createLdapServer(ServerAnnotationProcessor.java:318)
> 	at org.apache.directory.server.factory.ServerAnnotationProcessor.createLdapServer(ServerAnnotationProcessor.java:351) {noformat}
> The Apache CXF only uses ApacheDS in LDAP systests, we have to migrate to the supported option , for example UnboundID LDAP (https://github.com/pingidentity/ldapsdk)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)