Class AnonymousSaslClient
java.lang.Object
org.wildfly.security.sasl.util.AbstractSaslParticipant
org.wildfly.security.sasl.util.AbstractSaslClient
org.wildfly.security.sasl.anonymous.AnonymousSaslClient
- All Implemented Interfaces:
SaslClient,SaslWrapper
A client implementation of the RFC 4505
ANONYMOUS mechanism.- Author:
- David M. Lloyd
-
Field Summary
Fields inherited from class org.wildfly.security.sasl.util.AbstractSaslParticipant
COMPLETE_STATE, FAILED_STATE, NO_BYTESFields inherited from interface org.wildfly.security.sasl.util.SaslWrapper
IDENTITY -
Method Summary
Modifier and TypeMethodDescriptionprotected byte[]evaluateMessage(int state, byte[] message) getNegotiatedProperty(String propName) Get a property negotiated between this participant and the other.Methods inherited from class org.wildfly.security.sasl.util.AbstractSaslClient
evaluateChallenge, getAuthorizationId, hasInitialResponseMethods inherited from class org.wildfly.security.sasl.util.AbstractSaslParticipant
assertComplete, dispose, evaluateMessage, getCallbackHandler, getIntProperty, getMechanismName, getProtocol, getServerName, getStringProperty, getWrapper, handleCallbacks, init, isComplete, negotiationComplete, setNegotiationState, setWrapper, tryHandleCallbacks, unwrap, wrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.security.sasl.SaslClient
dispose, getMechanismName, isComplete, unwrap, wrap
-
Method Details
-
evaluateMessage
- Specified by:
evaluateMessagein classAbstractSaslParticipant- Throws:
SaslException
-
getNegotiatedProperty
Description copied from class:AbstractSaslParticipantGet a property negotiated between this participant and the other.- Specified by:
getNegotiatedPropertyin interfaceSaslClient- Overrides:
getNegotiatedPropertyin classAbstractSaslParticipant- Parameters:
propName- the property name- Returns:
- the property value or
nullif not defined
-