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.Logger
static final String
static final SystemProperty<Boolean>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
byte[]
evaluateResponse
(byte[] response) getNegotiatedProperty
(String propName) boolean
byte[]
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:
getMechanismName
in interfaceSaslServer
-
evaluateResponse
- Specified by:
evaluateResponse
in interfaceSaslServer
- Throws:
SaslException
-
isComplete
public boolean isComplete()- Specified by:
isComplete
in interfaceSaslServer
-
getAuthorizationID
- Specified by:
getAuthorizationID
in interfaceSaslServer
-
unwrap
- Specified by:
unwrap
in interfaceSaslServer
- Throws:
SaslException
-
wrap
- Specified by:
wrap
in interfaceSaslServer
- Throws:
SaslException
-
getNegotiatedProperty
- Specified by:
getNegotiatedProperty
in interfaceSaslServer
-
dispose
- Specified by:
dispose
in interfaceSaslServer
- Throws:
SaslException
-