Announcement Announcement Module
Collapse
No announcement yet.
Using LdapTemplate for checking an authentication Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using LdapTemplate for checking an authentication

    I have some legacy code that I am trying to upgrade to the Spring LDAP template. Everything seems to be working well enough in terms of user management but I am wondering what is the best approach for authenticating users?

    I am not using ageci, nor am I loading the LdapTempate from with a spring context loader. Right now when the class is established I load up the LdapTemplate with all of my configuration parameters.

    In the old code I would connect to the LDAP server as the username and password (rather than the connection username/password) supplied by the user and then try to load the user. If the connect and load are successful this is considered a successful authentication.

    Is the best approach to create a new LdapTemplate object and use the supplied username/password?

  • #2
    This has been discussed previously on the forum. Have a look at this thread.

    Comment

    Working...
    X