Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-1852

Applications can't create Users in Crowd if an Internal Directory with Regex is being used for the App

    XMLWordPrintable

Details

    Description

      Currently, Confluence creates the user using 2 steps: 1st create an empty user; 2nd update the empty user fields with the rest of the user details. However, the Directory Password Regex is being checked against the empty user as well. Since the password field will be empty, the Regex Test will always fail.

      2010-03-17 16:01:55,338 http-8095-7 DEBUG [service.soap.xfire.XFireInLoggingMethodHandler] SOAP service method: addPrincipal
      	com.atlassian.crowd.integration.authentication.AuthenticatedToken@29733c16[name=confluence,token=Fs4fANhmUZhr7uODa0rxUw00]
      	com.atlassian.crowd.integration.soap.SOAPPrincipal@4c6ddd9c[ID=-1,name=user3,directoryID=0,active=true,conception=<null>,lastModified=<null>,
              attributes={com.atlassian.crowd.integration.soap.SOAPAttribute@40f053f7[name=mail,values={-}],  
               com.atlassian.crowd.integration.soap.SOAPAttribute@62189e6f[name=givenName,values={-}],
               com.atlassian.crowd.integration.soap.SOAPAttribute@3e49bbb9[name=sn,values={-}],
               com.atlassian.crowd.integration.soap.SOAPAttribute@5ac38ea1[name=displayName,values={-}]}]
      	com.atlassian.crowd.integration.authentication.PasswordCredential@5cc91a94[credential=-,encryptedCredential=false]
      	
      2010-03-17 16:01:55,352 http-8095-7 DEBUG [service.soap.xfire.XFireOutLoggingMethodHandler] SOAP service method: addPrincipal
      	com.atlassian.crowd.integration.soap.SOAPPrincipal@eda2704[ID=-1,name=user3,directoryID=32773,active=true,conception=<null>,lastModified=<null>,
              attributes={com.atlassian.crowd.integration.soap.SOAPAttribute@14377f3a[name=givenName,values={-}],
               com.atlassian.crowd.integration.soap.SOAPAttribute@4781c334[name=sn,values={-}],
               com.atlassian.crowd.integration.soap.SOAPAttribute@1836af99[name=displayName,values={-}],
               com.atlassian.crowd.integration.soap.SOAPAttribute@2e42723a[name=mail,values={-}]}]
      	
      2010-03-17 16:01:55,380 http-8095-7 DEBUG [service.soap.xfire.XFireInLoggingMethodHandler] SOAP service method: updatePrincipalCredential
      	com.atlassian.crowd.integration.authentication.AuthenticatedToken@48aba47b[name=confluence,token=Fs4fANhmUZhr7uODa0rxUw00]
      	user3
      	com.atlassian.crowd.integration.authentication.PasswordCredential@7cbbac82[credential=GravE!,encryptedCredential=false]
      	
      2010-03-17 16:01:55,491 http-8095-7 DEBUG [service.soap.xfire.XFireOutLoggingMethodHandler] SOAP service method: updatePrincipalCredential
      	
      2010-03-17 16:01:55,508 http-8095-7 DEBUG [service.soap.xfire.XFireInLoggingMethodHandler] SOAP service method: updatePrincipalAttribute
      	com.atlassian.crowd.integration.authentication.AuthenticatedToken@36dd56da[name=confluence,token=Fs4fANhmUZhr7uODa0rxUw00]
      	user3
      	com.atlassian.crowd.integration.soap.SOAPAttribute@7d711e59[name=mail,values={test@test.com}]
      	
      2010-03-17 16:01:55,570 http-8095-7 DEBUG [service.soap.xfire.XFireOutLoggingMethodHandler] SOAP service method: updatePrincipalAttribute
      	
      2010-03-17 16:01:55,574 http-8095-7 DEBUG [service.soap.xfire.XFireInLoggingMethodHandler] SOAP service method: updatePrincipalAttribute
      	com.atlassian.crowd.integration.authentication.AuthenticatedToken@19208402[name=confluence,token=Fs4fANhmUZhr7uODa0rxUw00]
      	user3
      	com.atlassian.crowd.integration.soap.SOAPAttribute@25baac31[name=displayName,values={User3 DaSilva}]
      	
      2010-03-17 16:01:55,581 http-8095-7 DEBUG [service.soap.xfire.XFireOutLoggingMethodHandler] SOAP service method: updatePrincipalAttribute
      	
      2010-03-17 16:01:55,586 http-8095-7 DEBUG [service.soap.xfire.XFireInLoggingMethodHandler] SOAP service method: updatePrincipalAttribute
      	com.atlassian.crowd.integration.authentication.AuthenticatedToken@687ec877[name=confluence,token=Fs4fANhmUZhr7uODa0rxUw00]
      	user3
      	com.atlassian.crowd.integration.soap.SOAPAttribute@5b9b3239[name=givenName,values={User3}]
      	
      2010-03-17 16:01:55,592 http-8095-7 DEBUG [service.soap.xfire.XFireOutLoggingMethodHandler] SOAP service method: updatePrincipalAttribute
      	
      2010-03-17 16:01:55,596 http-8095-7 DEBUG [service.soap.xfire.XFireInLoggingMethodHandler] SOAP service method: updatePrincipalAttribute
      	com.atlassian.crowd.integration.authentication.AuthenticatedToken@303c2c94[name=confluence,token=Fs4fANhmUZhr7uODa0rxUw00]
      	user3
      	com.atlassian.crowd.integration.soap.SOAPAttribute@3e92c149[name=sn,values={DaSilva}]
      	
      2010-03-17 16:01:55,603 http-8095-7 DEBUG [service.soap.xfire.XFireOutLoggingMethodHandler] SOAP service method: updatePrincipalAttribute
      	
      2010-03-17 16:01:55,609 http-8095-7 DEBUG [service.soap.xfire.XFireInLoggingMethodHandler] SOAP service method: addPrincipalToGroup
      	com.atlassian.crowd.integration.authentication.AuthenticatedToken@725d10aa[name=confluence,token=Fs4fANhmUZhr7uODa0rxUw00]
      	user3
      	confluence-users
      	
      2010-03-17 16:01:55,618 http-8095-7 DEBUG [service.soap.xfire.XFireOutLoggingMethodHandler] SOAP service method: addPrincipalToGroup
      	
      2010-03-17 16:01:55,623 http-8095-7 DEBUG [service.soap.xfire.XFireInLoggingMethodHandler] SOAP service method: findGroupMemberships
      	com.atlassian.crowd.integration.authentication.AuthenticatedToken@4a814af9[name=confluence,token=Fs4fANhmUZhr7uODa0rxUw00]
      	user3
      	
      2010-03-17 16:01:55,627 http-8095-7 DEBUG [service.soap.xfire.XFireOutLoggingMethodHandler] SOAP service method: findGroupMemberships
      	confluence-users
      	
      2010-03-17 16:01:55,632 http-8095-7 DEBUG [service.soap.xfire.XFireInLoggingMethodHandler] SOAP service method: updatePrincipalAttribute
      	com.atlassian.crowd.integration.authentication.AuthenticatedToken@361298e4[name=confluence,token=Fs4fANhmUZhr7uODa0rxUw00]
      	user3
      	com.atlassian.crowd.integration.soap.SOAPAttribute@7ef3bc77[name=mail,values={test@test.com}]
      	
      2010-03-17 16:01:55,639 http-8095-7 DEBUG [service.soap.xfire.XFireOutLoggingMethodHandler] SOAP service method: updatePrincipalAttribute
      	
      2010-03-17 16:01:55,645 http-8095-7 DEBUG [service.soap.xfire.XFireInLoggingMethodHandler] SOAP service method: updatePrincipalAttribute
      	com.atlassian.crowd.integration.authentication.AuthenticatedToken@2c804a5b[name=confluence,token=Fs4fANhmUZhr7uODa0rxUw00]
      	user3
      	com.atlassian.crowd.integration.soap.SOAPAttribute@1a91b330[name=displayName,values={User3 DaSilva}]
      	
      2010-03-17 16:01:55,652 http-8095-7 DEBUG [service.soap.xfire.XFireOutLoggingMethodHandler] SOAP service method: updatePrincipalAttribute
      	
      2010-03-17 16:01:55,656 http-8095-7 DEBUG [service.soap.xfire.XFireInLoggingMethodHandler] SOAP service method: updatePrincipalAttribute
      	com.atlassian.crowd.integration.authentication.AuthenticatedToken@4199e97b[name=confluence,token=Fs4fANhmUZhr7uODa0rxUw00]
      	user3
      	com.atlassian.crowd.integration.soap.SOAPAttribute@5fafabe2[name=givenName,values={User3}]
      	
      2010-03-17 16:01:55,667 http-8095-7 DEBUG [service.soap.xfire.XFireOutLoggingMethodHandler] SOAP service method: updatePrincipalAttribute
      	
      2010-03-17 16:01:55,672 http-8095-7 DEBUG [service.soap.xfire.XFireInLoggingMethodHandler] SOAP service method: updatePrincipalAttribute
      	com.atlassian.crowd.integration.authentication.AuthenticatedToken@221f32a0[name=confluence,token=Fs4fANhmUZhr7uODa0rxUw00]
      	user3
      	com.atlassian.crowd.integration.soap.SOAPAttribute@2e34b7e0[name=sn,values={DaSilva}]
      	
      2010-03-17 16:01:55,689 http-8095-7 DEBUG [service.soap.xfire.XFireOutLoggingMethodHandler] SOAP service method: updatePrincipalAttribute
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            rbattaglin Renan Battaglin
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: