Package org.wildfly.security.sasl.util
Class AbstractDelegatingSaslServer
java.lang.Object
org.wildfly.security.sasl.util.AbstractDelegatingSaslServer
- All Implemented Interfaces:
SaslServer,SaslWrapper
- Direct Known Subclasses:
AuthenticationContextSaslServer,PrivilegedSaslServer
public abstract class AbstractDelegatingSaslServer
extends Object
implements SaslServer, SaslWrapper
An abstract base for
SaslServer instances which delegate to another SaslServer.- Author:
- David M. Lloyd
-
Field Summary
FieldsFields inherited from interface org.wildfly.security.sasl.util.SaslWrapper
IDENTITY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractDelegatingSaslServer(SaslServer delegate) Construct a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()byte[]evaluateResponse(byte[] response) getNegotiatedProperty(String propName) booleantoString()byte[]unwrap(byte[] incoming, int offset, int len) byte[]wrap(byte[] outgoing, int offset, int len)
-
Field Details
-
delegate
The delegateSaslServer.
-
-
Constructor Details
-
AbstractDelegatingSaslServer
Construct a new instance.- Parameters:
delegate- the SASL server to delegate to
-
-
Method Details
-
getMechanismName
- Specified by:
getMechanismNamein interfaceSaslServer
-
evaluateResponse
- Specified by:
evaluateResponsein interfaceSaslServer- Throws:
SaslException
-
getAuthorizationID
- Specified by:
getAuthorizationIDin interfaceSaslServer
-
isComplete
public boolean isComplete()- Specified by:
isCompletein interfaceSaslServer
-
unwrap
- Specified by:
unwrapin interfaceSaslServer- Specified by:
unwrapin interfaceSaslWrapper- Throws:
SaslException
-
wrap
- Specified by:
wrapin interfaceSaslServer- Specified by:
wrapin interfaceSaslWrapper- Throws:
SaslException
-
getNegotiatedProperty
- Specified by:
getNegotiatedPropertyin interfaceSaslServer
-
dispose
- Specified by:
disposein interfaceSaslServer- Throws:
SaslException
-
toString
-