Package org.jivesoftware.openfire.sasl
Class ExternalClientSaslServer
java.lang.Object
org.jivesoftware.openfire.sasl.ExternalClientSaslServer
- All Implemented Interfaces:
SaslServer
Implementation of the SASL EXTERNAL mechanism with PKIX to be used for client-to-server connections.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.slf4j.Loggerstatic final Stringstatic final SystemProperty<Boolean> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()byte[]evaluateResponse(byte[] response) getNegotiatedProperty(String propName) booleanbyte[]unwrap(byte[] incoming, int offset, int len) byte[]wrap(byte[] outgoing, int offset, int len)
-
Field Details
-
PROPERTY_SASL_EXTERNAL_CLIENT_SUPPRESS_MATCHING_REALMNAME
public static final SystemProperty<Boolean> PROPERTY_SASL_EXTERNAL_CLIENT_SUPPRESS_MATCHING_REALMNAME -
Log
public static final org.slf4j.Logger Log -
NAME
- See Also:
-
-
Constructor Details
-
ExternalClientSaslServer
- Throws:
SaslException
-
-
Method Details
-
getMechanismName
- Specified by:
getMechanismNamein interfaceSaslServer
-
evaluateResponse
- Specified by:
evaluateResponsein interfaceSaslServer- Throws:
SaslException
-
isComplete
public boolean isComplete()- Specified by:
isCompletein interfaceSaslServer
-
getAuthorizationID
- Specified by:
getAuthorizationIDin interfaceSaslServer
-
unwrap
- Specified by:
unwrapin interfaceSaslServer- Throws:
SaslException
-
wrap
- Specified by:
wrapin interfaceSaslServer- Throws:
SaslException
-
getNegotiatedProperty
- Specified by:
getNegotiatedPropertyin interfaceSaslServer
-
dispose
- Specified by:
disposein interfaceSaslServer- Throws:
SaslException
-