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

Jive Forums remote authentication is not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 1.2
    • 1.1.2
    • Integration - Jive
    • None

    Description

      Using Jive's remote API to authenticate (via Crowd) fails because a "null" username/password is sent to the Crowd server.

      Running:

      ServiceLocator locator = new ServiceLocator("http://localhost:8083/jiveforums", "admin", "admin");
      ContentService contentService = locator.getContentService();
      

      Results in:

      Exception in thread "main" com.jivesoftware.base.UnauthorizedException: Authentication Failed
      	at com.jivesoftware.forum.webservices.ServiceLocator$ExceptionHandler.getException(ServiceLocator.java:410)
      	at com.jivesoftware.forum.webservices.ServiceLocator$ExceptionHandler.invoke(ServiceLocator.java:364)
      	at $Proxy0.getForumCategory(Unknown Source)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:585)
      	at com.jivesoftware.forum.webservices.ServiceLocator$CacheHandler.invoke(ServiceLocator.java:492)
      	at $Proxy1.getForumCategory(Unknown Source)
      	at Scrap.main(Scrap.java:21)
      

      Due to:

      11:38:15,479 DEBUG integration.service.soap.xfire.XFireInLoggingMethodHandler: SOAP service method: authenticatePrincipal
      	com.atlassian.crowd.integration.authentication.AuthenticatedToken@c202ae[name=jiveforums,token=i1l8nrfeSbGKFnzT1ETbMA00]
      	com.atlassian.crowd.integration.authentication.PrincipalAuthenticationContext@3df1ff[name=<null>,credential=com.atlassian.crowd.integration.authentication.PasswordCredential@0,validationFactors={com.atlassian.crowd.integration.authentication.ValidationFactor@dada88[name=User-Agent,value=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; XFire Client +http://xfire.codehaus.org)],com.atlassian.crowd.integration.authentication.ValidationFactor@4140b3[name=remote_address,value=127.0.0.1],<null>},application=jiveforums]
      
      ...	
      
      11:38:17,488 DEBUG atlassian.crowd.manager.directory.DirectoryManagerGeneric: authenticate: user null
      

      Attachments

        Activity

          People

            shamid@atlassian.com shihab
            shamid@atlassian.com shihab
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: