Class SaslNonza.AuthMechanism
- java.lang.Object
-
- org.jivesoftware.smack.sasl.packet.SaslNonza.AuthMechanism
-
- All Implemented Interfaces:
Element
,FullyQualifiedElement
,NamedElement
,Nonza
,TopLevelStreamElement
,XmlLangElement
,SaslNonza
- Enclosing interface:
- SaslNonza
public static class SaslNonza.AuthMechanism extends java.lang.Object implements SaslNonza
Initiating SASL authentication by select a mechanism.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jivesoftware.smack.sasl.packet.SaslNonza
SaslNonza.AuthMechanism, SaslNonza.Challenge, SaslNonza.Response, SaslNonza.SASLFailure, SaslNonza.Success
-
-
Constructor Summary
Constructors Constructor Description AuthMechanism(java.lang.String mechanism, java.lang.String authenticationText)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAuthenticationText()
java.lang.String
getElementName()
Returns the root element name.java.lang.String
getMechanism()
XmlStringBuilder
toXML(XmlEnvironment xmlEnvironment)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement
getLanguage, getQName
-
Methods inherited from interface org.jivesoftware.smack.sasl.packet.SaslNonza
getNamespace
-
-
-
-
Field Detail
-
ELEMENT
public static final java.lang.String ELEMENT
- See Also:
- Constant Field Values
-
QNAME
public static final javax.xml.namespace.QName QNAME
-
-
Constructor Detail
-
AuthMechanism
public AuthMechanism(java.lang.String mechanism, java.lang.String authenticationText)
-
-
Method Detail
-
toXML
public XmlStringBuilder toXML(XmlEnvironment xmlEnvironment)
-
getMechanism
public java.lang.String getMechanism()
-
getAuthenticationText
public java.lang.String getAuthenticationText()
-
getElementName
public java.lang.String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
-