Package org.jivesoftware.openfire.sasl
Class ExternalServerSaslServer
- java.lang.Object
-
- org.jivesoftware.openfire.sasl.ExternalServerSaslServer
-
- All Implemented Interfaces:
SaslServer
public class ExternalServerSaslServer extends Object implements SaslServer
Implementation of the SASL EXTERNAL mechanism with PKIX to be used for server-to-server connections.
-
-
Constructor Summary
Constructors Constructor Description ExternalServerSaslServer(LocalIncomingServerSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()byte[]evaluateResponse(byte[] response)StringgetAuthorizationID()StringgetMechanismName()ObjectgetNegotiatedProperty(String propName)booleanisComplete()byte[]unwrap(byte[] incoming, int offset, int len)byte[]wrap(byte[] outgoing, int offset, int len)
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ExternalServerSaslServer
public ExternalServerSaslServer(LocalIncomingServerSession session) throws SaslException
- Throws:
SaslException
-
-
Method Detail
-
getMechanismName
public String getMechanismName()
- Specified by:
getMechanismNamein interfaceSaslServer
-
evaluateResponse
public byte[] evaluateResponse(byte[] response) throws SaslException- Specified by:
evaluateResponsein interfaceSaslServer- Throws:
SaslException
-
isComplete
public boolean isComplete()
- Specified by:
isCompletein interfaceSaslServer
-
getAuthorizationID
public String getAuthorizationID()
- Specified by:
getAuthorizationIDin interfaceSaslServer
-
unwrap
public byte[] unwrap(byte[] incoming, int offset, int len) throws SaslException- Specified by:
unwrapin interfaceSaslServer- Throws:
SaslException
-
wrap
public byte[] wrap(byte[] outgoing, int offset, int len) throws SaslException- Specified by:
wrapin interfaceSaslServer- Throws:
SaslException
-
getNegotiatedProperty
public Object getNegotiatedProperty(String propName)
- Specified by:
getNegotiatedPropertyin interfaceSaslServer
-
dispose
public void dispose() throws SaslException- Specified by:
disposein interfaceSaslServer- Throws:
SaslException
-
-