Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to import javax classes #133

Open
surendrabaid opened this issue Jul 23, 2022 · 1 comment
Open

Not able to import javax classes #133

surendrabaid opened this issue Jul 23, 2022 · 1 comment

Comments

@surendrabaid
Copy link

Not able to import javax classes like javax.naming, javax.security.* in Android app which i'm trying to build using ldap SDK.
I've imported unboundid-ldapsdk.jar but it doesn't have javax classes.

@dirmgr
Copy link
Collaborator

dirmgr commented Jul 25, 2022

The javax.naming package is part of JNDI, but the UnboundID LDAP SDK for Java is a completely independent API for interacting with LDAP directory servers. It does not use JNDI for its communication, nor does it attempt to replicate its API (which is pretty sub-optimal for LDAP, as its attempts to allow interacting with several unrelated services make it not great for any of them, and especially confusing for LDAP). The UnboundID LDAP SDK provides a more intuitive, more powerful, and much more feature-rich API that is specifically designed for accessing LDAP directory services.

See the Getting Started Guide and Javadoc documentation for more information on using the UnboundID LDAP SDK. You can also look at the source code for a number of example tools written in the LDAP SDK to see how to use it for communicating with LDAP servers, reading and writing LDIF, and performing other LDAP-related tasks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants