Package org.jivesoftware.openfire.sasl
Class ExternalServerSaslServer
java.lang.Object
org.jivesoftware.openfire.sasl.ExternalServerSaslServer
- All Implemented Interfaces:
SaslServer
Implementation of the SASL EXTERNAL mechanism with PKIX to be used for server-to-server connections.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final SystemProperty<Boolean>
This property controls if the inbound connection is required to provide an authorization identity in the SASL EXTERNAL handshake (as part of an `auth` element). -
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_SERVER_REQUIRE_AUTHZID
This property controls if the inbound connection is required to provide an authorization identity in the SASL EXTERNAL handshake (as part of an `auth` element). In older XMPP specifications, it was not required to have a `from` attribute on the stream, making the authzid a required part of the handshake.- See Also:
-
NAME
- See Also:
-
-
Constructor Details
-
ExternalServerSaslServer
- 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
-