Question: SASLError using PLAIN: not-authorized
While connecting the ejabbered following error is coming:
SASLError using PLAIN: not-authorized
I was able to resolve the issue with the following code:
configBuilder.setSecurityMode(SecurityMode.disabled); SASLAuthentication.unBlacklistSASLMechanism("PLAIN"); SASLAuthentication.blacklistSASLMechanism("DIGEST-MD5");
I checked my user name was containing the domain name. So resolve this error remove the domain name from username.