Class AnonymousMechanism
java.lang.Object
org.apache.qpid.protonj2.engine.sasl.client.AbstractMechanism
org.apache.qpid.protonj2.engine.sasl.client.AnonymousMechanism
- All Implemented Interfaces:
- Mechanism
Implements the Anonymous SASL authentication mechanism.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final SymbolA singleton instance of the symbolic mechanism name.Fields inherited from class org.apache.qpid.protonj2.engine.sasl.client.AbstractMechanismEMPTY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetName()booleanisApplicable(SaslCredentialsProvider credentials) Allows the Mechanism to determine if it is a valid choice based on the configured credentials at the time of selection.Methods inherited from class org.apache.qpid.protonj2.engine.sasl.client.AbstractMechanismgetChallengeResponse, getInitialResponse, isEnabledByDefault, toString, verifyCompletion
- 
Field Details- 
ANONYMOUSA singleton instance of the symbolic mechanism name.
 
- 
- 
Constructor Details- 
AnonymousMechanismpublic AnonymousMechanism()
 
- 
- 
Method Details- 
getName- Returns:
- the well known name of this SASL mechanism.
 
- 
isApplicableDescription copied from interface:MechanismAllows the Mechanism to determine if it is a valid choice based on the configured credentials at the time of selection.- Parameters:
- credentials- the login credentials available at the time of mechanism selection.
- Returns:
- true if the mechanism can be used with the provided credentials
 
 
-