Hi,

I am able to migrate with using the core-annotation module. But when
changing the password of the admin user, we are getting the following error.

'java.lang.ClassNotFoundException:
org.apache.directory.server.core.api.partition.PartitionNexus cannot be
found by org.apache.directory.server.interceptor.kerberos_2.0.0.AM25'

We are using the KeyDerivationInterceptor. When I analysed this issue the
interceptor-kerberos is not having the
org.apache.directory.server.core.api.partition
package in the Import-Package. But the KeyDerivationInterceptor class has
the directoryService.getPartitionNexus()[1] method which needs this package
import. Please find the PR[2] with the fix

[1] -
https://github.com/apache/directory-server/blob/2a7dc89e3e905fd7ea3ace9a04fac561af594f56/interceptor-kerberos/src/main/java/org/apache/directory/server/core/kerberos/KeyDerivationInterceptor.java#L313

[2] - https://github.com/apache/directory-server/pull/11

Thanks,
Senthalan

On Thu, Jan 17, 2019 at 3:18 PM Senthalan Kanagalingam <[email protected]>
wrote:

> Hi,
>
> Thank you for your quick response. I am currently working on migrating
> without using the core-annotation module.
>
> Yes, we are eager to help to speed up the release process. But as we don't
> have much knowledge in the internals of the Apache DS, we highly appreciate
> your guidance.
>
> Thanks & Regards
>
> On Wed, Jan 16, 2019 at 8:22 PM Emmanuel Lécharny <[email protected]>
> wrote:
>
>>
>> On 16/01/2019 13:50, Senthalan Kanagalingam wrote:
>> > Hi all,
>> >
>> > I am from WSO2 Identity and access management team. We are using the
>> > Apache Active directory as our embedded LDAP. Note that we are not
>> > using all the components of the ApacheDS. Currently, we are trying to
>> > update the ApacheDS from 1.5.7 to 2.0.0.AM25. We have faced the
>> > following issue,
>> >
>> > The core-annotations module expects 'org.junit.runner'[1] as the
>> > import package.  When I go through the implementation, there is only
>> > one usage of this package in the
>> > DSAnnotationProcessor.getDirectoryService()[2] method. It has the
>> > 'org.junit.runner.Description' as argument and the usage of that
>> > method is only in the apacheds-test-framework module. We
>> > need the apacheds-core-annotations module as we have used the Factory
>> > classes for the customization. But we can't inject the JUnit module to
>> > the production run-time. So what will the best option be? Can we
>> > change this method's arguments to fix this issue?
>>
>>
>> Core-annotation only purpose is to facilitate tests writing. There is no
>> reason to include it in production. Simply put: don't add this
>> dependency to your build.
>>
>>
>> >
>> > Other than this, we are able to update to ApacheDS 2.0.0.AM25. And can
>> > you share the estimated release timeline of 2.0.0?
>>
>>
>> When it's ready ;-)
>>
>> Ok, you have enough people at WSO2 that are participating to Apache
>> projects to know what I mean. I would also suggest you spend some time
>> participating to the Directory project, which is lacking committers.
>> That would speed up the move top a 2.0.
>>
>>
>> Thanks !
>>
>>
>>
>
> --
>
> *Senthalan Kanagalingam*
> *Software Engineer - WSO2 Inc.*
> *Mobile : +94 (0) 77 18 77 466*
> <http://wso2.com/signature>
>


-- 

*Senthalan Kanagalingam*
*Software Engineer - WSO2 Inc.*
*Mobile : +94 (0) 77 18 77 466*
<http://wso2.com/signature>

Reply via email to