Uploaded image for project: '{RETIRED} XWiki Enterprise'
  1. {RETIRED} XWiki Enterprise
  2. XE-322

Authentication called 3 times in a "normal" navigation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • 1.6
    • None
    • None

    Description

      See http://markmail.org/message/auxzq44jp5x3yqdw :

      Thanks for the clarification. However, I have futher question about the connection. The following are the debug messages from log4j when a user did a single click on a normal navigation. There are basically 3 parts. 1st, user found 2nd, user object null (which is my main question) 3rd, getting the page comment

      I assume after the first connection, users was authenticated. Why there was the 2nd connection with null object? I am using Enterprise LDAP, and not be able to go live into Production without clearing this issue. I have the Trace from LDAP side if that helps.

      I am planning to go live the system in 2 weeks, so its fairly urgent to get this issue resolved please. Appreciate your thoughts.

      Many Thanks
      Art
      ===========================================================
      First Part, found user
      ===========================================================
      17:57:22,398 https://localhost/xwiki/bin/view/Admin/ [TP-Processor8] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user dn with the user object: cn=MYID,ou=People,dc=MYDC,dc=net
      17:57:22,591 https://localhost/xwiki/bin/view/Admin/ [TP-Processor8] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP attributes will be used toupdate XWiki attributes.
      17:57:22,592 https://localhost/xwiki/bin/view/Admin/ [TP-Processor8] DEBUG ldap.XWikiLDAPConfig - Ready to create user from LDAP with fields last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
      17:57:22,712 https://localhost/xwiki/bin/view/Admin/ [TP-Processor8] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating existing user with LDAP attribues located at cn=MYID,ou=People,dc=MYDC,dc=net
      17:57:22,716 https://localhost/xwiki/bin/view/Admin/ [TP-Processor8] DEBUG ldap.XWikiLDAPConfig - Ready to create user from LDAP with fields last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn

      ===========================================================
      Second Part, user object null
      ===========================================================
      17:57:23,726 https://localhost/xwiki/bin/view/Admin/ [TP-Processor8] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user dn with the user object: null
      17:57:23,727 https://localhost/xwiki/bin/view/Admin/ [TP-Processor8] DEBUG ldap.XWikiLDAPConfig - Ready to create user from LDAP with fields last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
      17:57:23,729 https://localhost/xwiki/bin/view/Admin/ [TP-Processor8] DEBUG ldap.XWikiLDAPUtils - Searching for the user in LDAP:user:MYID base: query:(cn=MYID) uid:cn
      17:57:24,171 https://localhost/xwiki/bin/view/Admin/ [TP-Processor8] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP attributes will be used toupdate XWiki attributes.
      17:57:24,172 https://localhost/xwiki/bin/view/Admin/ [TP-Processor8] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating existing user with LDAP attribues located at cn=MYID,ou=People,dc=MYDC,dc=net 17:57:24,173 https://localhost/xwiki/bin/view/Admin/ [TP-Processor8] DEBUG ldap.XWikiLDAPConfig - Ready to create user from LDAP with fields last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn

      ===========================================================
      Third Part, seems getting details for the page comment field which is another LDAP call
      ===========================================================
      17:57:26,590 https://localhost/xwiki/bin/view/Admin/?xpage=xpart&vm=commentsinline.vm [TP-Processor8] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user dn with the user object: cn=MYID,ou=People,dc=MYDC,dc=net 17:57:26,794 https://localhost/xwiki/bin/view/Admin/?xpage=xpart&vm=commentsinline.vm [TP-Processor8] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP attributes will be used to update XWiki attributes.
      17:57:26,796 https://localhost/xwiki/bin/view/Admin/?xpage=xpart&vm=commentsinline.vm [TP-Processor8] DEBUG ldap.XWikiLDAPConfig - Ready to create user from LDAP with fields last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
      17:57:26,903 https://localhost/xwiki/bin/view/Admin/?xpage=xpart&vm=commentsinline.vm [TP-Processor8] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating existing user with LDAP attribues located at cn=MYID,ou=People,dc=MYDC,dc=net
      17:57:26,906 https://localhost/xwiki/bin/view/Admin/?xpage=xpart&vm=commentsinline.vm [TP-Processor8] DEBUG ldap.XWikiLDAPConfig - Ready to create user from LDAP with fields last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
      ===========================================================

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: