• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JNDI-LDAP

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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??
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This link takes me to google??
 
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"anumishra1",
Please see the thread here to prevent your account being deleted.

David O'Meara
 
reply
    Bookmark Topic Watch Topic
  • New Topic