GitHub user CMoH opened a pull request:
https://github.com/apache/archiva-redback-core/pull/11
Use NamingManager instead of LdapCtxFactory
Fixes the following deprecation warnings on LdapCtxFactory when building
redback-common-ldap
```
org/apache/archiva/redback/common/ldap/connection/DefaultLdapConnection.java:[22,25]
com.sun.jndi.ldap.LdapCtxFactory is internal proprietary API and may be
removed in a future release
org/apache/archiva/redback/common/ldap/connection/DefaultLdapConnection.java:[46,20]
com.sun.jndi.ldap.LdapCtxFactory is internal proprietary API and may be
removed in a future release
org/apache/archiva/redback/common/ldap/connection/DefaultLdapConnection.java:[65,26]
com.sun.jndi.ldap.LdapCtxFactory is internal proprietary API and may be
removed in a future release
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/CMoH/archiva-redback-core
ldapctxfactory-deprecation-warnings
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/archiva-redback-core/pull/11.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #11
----
commit c9ca73b94cb294a6d87bbaf75560293744f5e7fe
Author: Ciprian Ciubotariu <[email protected]>
Date: 2016-10-03T15:32:52Z
Use NamingManager instead of LdapCtxFactory
Fixes deprecation warnings on LdapCtxFactory
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---