1 Reply Latest reply on Oct 1, 2010 3:53 PM by Neil Richardson

    ldapIdentityStore debugging

    Christophe Goguyer Dessagnes Newbie

      Hello,


      Is there a way to enable more trace on ldapIdentityStore component ?
      I'd like to see the ldap request which are send to my server.


      Thx.

        • 1. Re: ldapIdentityStore debugging
          Neil Richardson Newbie

          Looking at the source code for LdapIdentityStore there is only 1 logging statement in the code (a warning if the search scope is set incorrectly) so there is no way with Seam logging statements alone. Seam just uses JNDI to speak to the LDAP server so you may be able to turn logging on for the particular implementation you use.


          You have another 2 options



          1. attach a debugger using your IDE and step through the code - you should be able to see all the variables in scope at any point in the code

          2. look at the request 'on the wire' using a network protocol analyzer such as Wireshark - http://www.wireshark.org.