Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JNDI-LDAP  RSS feed

 
Andrew Winton
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i've been asked to develop a 'simple' java swing application that can be used to access any specified LDAP server. The application is required to allow connections to any specified LDAP server over the internet. The application must allow for a url to be provided and a means to connect to the server so that info can be obtained. The application must display all the ou entries available for the provided url along with the attribute id and attribute values fopr each of the ou entries.

I've been provided with a starter version of the application i have to add in the code to use the url typed into the url field to establish a connection with the server. Then the info obtained should be presented in a text area in the swing application.

My javas pretty poor to say the least, can anyone help me out on how to do this??
 
Alan Jackson
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this for Brian Hainy's coursework? If it is you are a cheating sod!


but see here Application.java

 
Andrew Winton
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This link takes me to google??
 
Anurag Mishra
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This connectivity is for JBOSS-LDAP

ldap.context.factory=com.sun.jndi.ldap.LdapCtxFactory
dsml.context.factory=com.sun.jndi.dsml.DsmlCtxFactory
ldap.provider.url=ldap://127.0.0.1:389
ldap.directory.suffix=o=xyz.com
ldap.security.authentication=simple
ldap.security.principal=cn=Directory Manager
ldap.security.credentials=password
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"anumishra1",
Please see the thread here to prevent your account being deleted.

David O'Meara
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!