Share on Google+Share on Google+

Java Coder
SASLError using PLAIN: not-authorized
1 Answer(s)      a year and a month ago
Posted in : Java Beginners

Hi,

While connecting the ejabbered following error is coming:

SASLError using PLAIN: not-authorized

Thanks

Ads

View Answers

February 15, 2016 at 9:52 AM


Hi,

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.

Thanks










Related Tutorials/Questions & Answers:
SASLError using PLAIN: not-authorized
SASLError using PLAIN: not-authorized  Hi, While connecting the ejabbered following error is coming: SASLError using PLAIN: not-authorized Thanks   Hi, I was able to resolve the issue with the following code
using array
using array  transpose a matrix
Advertisements
using array
using array  transpose a matrix
using array
using array  column wise total of a matrix
using prompt
using prompt  how to use prompt
using function
using function   using a function to find the value of v from the foiiowing expression 1v=1u+1*f
using array
using array  Circular left shift array element by one position
using array
using array  Circular left shift array element by one position
using array
using array  read 10 digit number and display (star
using array
using array  display 10 digit number using array and print pyramid. 1 1 1 1 1 1 1 1 1 1 1 1
Using Ajax
Using Ajax  Hi, How I can use Ajax in web programming? Tell me any example which using Ajax to call server side script? Thanks   Hi, Here are examples: PHP Ajax and Database First Ajax Example Getting Started
using for loop
using for loop  what will be the source code of the program that the output will be printing all numbers that is divisible by 3 and 5 sample output: 3 is divisible by 3 5 is divisible by 5 6 is divisible by 3 9 is divisible by 3
using function
using function  write a program using function overloading to accept any sentence and print vowels and consonants sepratly   Here is an example that accepts a sentence from the user and display the vowels and consonants
using iReport
using iReport  Hello sir, I am using iReport3.0 and then i am calling the .jrxml file in jsp but i got the error.My JSP code is as below and after the jsp code i have placed the error code Thanks in advance: &lt
using constructor
using constructor  all constructor for matrix class?   The given code implements the Matrix class and show the addition of two matrices. public class Matrix{ int M; int N
using eval in Java
using eval in Java  using eval in Java
Is JSF using JSP?
Is JSF using JSP?  Is JSF using JSP
string palindrom using vbscript?
string palindrom using vbscript?  string palindrom using vbscript
write a programm using java
write a programm using java  print the following using java programming
Using throw in java method
Using throw in java method  using throw with method implies what
why using static keyword
why using static keyword  why using static keyword
Image Movement using Swings
Image Movement using Swings  How to move image using Swings
Date object using JavaScript
Date object using JavaScript  What's the Date object using JavaScript
delete an entry using JavaScript
delete an entry using JavaScript  How to delete an entry using JavaScript
report generation using jsp
report generation using jsp  report generation coding using jsp
survey poll using java
survey poll using java  how to make a survey poll using java? i am using netbeans and glassfish
A Java Program by using JSP
A Java Program by using JSP  how to draw lines by using JSP plz show me the solution by using program
java code using swings
java code using swings  code that should be able to enter data of student details using all swings into the access database using jdbc connectivity
tree using jsp code
tree using jsp code  i want to draw a tree structure of a family hierarchy using jsp code
create a form using struts
create a form using struts  How can I create a form for inputting text and uploading image using struts
using random number
using random number  generate a 10 digit number using random number and display the length of longest increasing series
Tutorials   
Java Spring Hibernate Struts Training What does core Java include? java What are some way to learn Java quickly? Is it required to learn Java before learning Java Script? Is it necessary to learn java script before learning PHP? Are HTML5 and Java Script boosts Java career? Is Java object oriented? Fingerprint application with Java Uninstall Oracle Virtual Box JSON to HashMap Free Java online Training I want example of Control Statement in Java ANSI Color Codes with Python Create a Program that Calculates Input What is difference between JDK,JRE and JVM? How to see ubuntu version on server? How to get Page Source in Selenium (WebDriver) using Java? The path to the driver executable must be set by the webdriver.gecko.driver system property parse data from a link in java Java Program Qns using BlueJ How to fix HAX Kernel Module Is Not Installed error? Installing Audacity Looking for code Logic to check track changes & Coments in MSWord, MSWordx, MSExcel, MSExcelx is ON/OFF Installing JDK on Mac SAX Parser exception ERROR 601 (42P00): Syntax error. Encountered Thread java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory How to install Ubuntu 16.04 LTS? HttpServletRequest cannot be resolved to a type in eclipse - Solved Unhandled event loop exception GC overhead limit exceeded Spring Data jpa with apache phoenix Caused by: java.lang.IllegalArgumentException: Not a host:port pair: PBUF o.a.h.h.z.RecoverableZooKeeper - Possibly transient ZooKeeper, quorum= com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager class not found com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager not found How to download and install Java 8 on Windows? How to uninstall JDK 7? How to install gtk-doc-tools package in Ubuntu? How to install Oracle JDK 8 on Ubuntu? ejabberd_ctl.beam not found - Solved How to convert date to UTC format in Java? How to install autoconf, automake and libtool in Ubuntu 15.10? How to convert current date to mm dd yyyy format in Java? How to convert current date to dd mm yyyy format in Java? How to stop window closing in "internalFrameClosing" event. How to find list of all index in Neo4j? neo4j-server.properties file location SASLError using PLAIN: not-authorized how to convert war file into .exe file using java code

Ads

 
Advertisement null

Ads