• Post Reply Bookmark Topic Watch Topic
  • New Topic

How I can improve this LDAP authentication project  RSS feed

 
bob von ilten
Greenhorn
Posts: 21
Linux Mac OS X MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I have been working my way through HFJ and decided to branch out a bit on a personal project. I have a working login GUI interface Class and a working LDAP authentication Class. The authentication Class is using JNDI to authenticate against an Active Directory Server. I am interested in how you think it could be improved particularly in regards to security as I seem to be a bit foggy as to what (class, methods, and vars) should be set for private access and what should not. I am also fairly sure that my use of the JPassworField.getPassword() method in not exactly what it should be.

I have pasted the code for the two classes below.

GUI Login Class



Authentication Class




 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!