Coverage Report - org.mule.transport.xmpp.SaslAuthFixBean
 
Classes in this File Line Coverage Branch Coverage Complexity
SaslAuthFixBean
0%
0/3
N/A
1
 
 1  
 /*
 2  
  * $Id: SaslAuthFixBean.java 19191 2010-08-25 21:05:23Z tcarlson $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 
 11  
 package org.mule.transport.xmpp;
 12  
 
 13  
 import org.jivesoftware.smack.SASLAuthentication;
 14  
 
 15  
 /**
 16  
  * Instantiate this bean in your spring config to work around a known issue with the SMACK
 17  
  * API: http://www.igniterealtime.org/issues/browse/SMACK-264
 18  
  */
 19  
 public class SaslAuthFixBean
 20  
 {
 21  
     public SaslAuthFixBean()
 22  
     {
 23  0
         super();
 24  
         
 25  
         // fix SASL auth
 26  0
         SASLAuthentication.supportSASLMechanism("PLAIN", 0);
 27  0
     }
 28  
 }
 29  
 
 30