|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rabbitmq.client.JDKSaslConfig
public class JDKSaslConfig
Implementation of SaslConfig that uses the JDK SASL implementation. This is not the default since it does not work on Java 1.4, Android or IBM's JDK.
ConnectionFactory
Constructor Summary | |
---|---|
JDKSaslConfig(ConnectionFactory factory)
Create a JDKSaslConfig which only wants to use PLAIN. |
|
JDKSaslConfig(ConnectionFactory factory,
java.lang.String[] mechanisms)
Create a JDKSaslConfig with a list of mechanisms to use. |
Method Summary | |
---|---|
SaslMechanism |
getSaslMechanism(java.lang.String[] serverMechanisms)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JDKSaslConfig(ConnectionFactory factory)
factory
- - the ConnectionFactory to use to obtain username, password and hostpublic JDKSaslConfig(ConnectionFactory factory, java.lang.String[] mechanisms)
factory
- - the ConnectionFactory to use to obtain username, password and hostmechanisms
- - a list of SASL mechanisms to use (in descending order of preference)Method Detail |
---|
public SaslMechanism getSaslMechanism(java.lang.String[] serverMechanisms)
getSaslMechanism
in interface SaslConfig
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |