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 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(String mechanism, String authenticationText)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuthenticationText()
String
getElementName()
Returns the root element name.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 String ELEMENT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AuthMechanism
public AuthMechanism(String mechanism, String authenticationText)
-
-
Method Detail
-
toXML
public XmlStringBuilder toXML(XmlEnvironment xmlEnvironment)
-
getMechanism
public String getMechanism()
-
getAuthenticationText
public String getAuthenticationText()
-
getElementName
public String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
-