Enable Smack support for SASL PLAIN when configuring an IM server

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Cannot Reproduce
    • None
    • Component/s: IM
    • None

      Problem

      When using an IM Server that supports SASL PLAIN only (e.g. Cisco Unified Presence Server) Bamboo fails with the following SASLErrorException:

      2016-01-28 17:02:48,992 INFO [http-nio-8085-exec-16] [BambooSmackClient] Connecting to InstantMessagingServerDefinitionImpl
      {name='Default', host='imserv.host.net', port=5222, username='bamboo@host.net', resource='bamboo', secureConnectionRequired=false, enforceLegacySsl=false}
      2016-01-28 17:02:49,102 INFO [http-nio-8085-exec-16] [ConfigureInstantMessagingServer] Cannot connect to imserv.host.net as user <bamboo@host.net>
      org.jivesoftware.smack.sasl.SASLErrorException: SASLError using PLAIN: not-authorized
      at org.jivesoftware.smack.SASLAuthentication.authenticationFailed(SASLAuthentication.java:365)
      at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1040)
      at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:944)
      at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:959)
      at java.lang.Thread.run(Thread.java:745)
      

            Assignee:
            Unassigned
            Reporter:
            James Giles IV (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: