Class SaslPlainServer
java.lang.Object
org.apache.hadoop.hbase.security.provider.example.SaslPlainServer
- All Implemented Interfaces:
SaslServer
This class was copied from Hadoop Common (3.1.2) and subsequently modified.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()byte[]evaluateResponse(byte[] response) getNegotiatedProperty(String propName) booleanprivate voidbyte[]unwrap(byte[] incoming, int offset, int len) byte[]wrap(byte[] outgoing, int offset, int len)
-
Field Details
-
cbh
-
completed
-
authz
-
-
Constructor Details
-
SaslPlainServer
SaslPlainServer(CallbackHandler callback)
-
-
Method Details
-
getMechanismName
- Specified by:
getMechanismNamein interfaceSaslServer
-
evaluateResponse
- Specified by:
evaluateResponsein interfaceSaslServer- Throws:
SaslException
-
throwIfNotComplete
-
isComplete
- Specified by:
isCompletein interfaceSaslServer
-
getAuthorizationID
- Specified by:
getAuthorizationIDin interfaceSaslServer
-
getNegotiatedProperty
- Specified by:
getNegotiatedPropertyin interfaceSaslServer
-
wrap
- Specified by:
wrapin interfaceSaslServer- Throws:
SaslException
-
unwrap
- Specified by:
unwrapin interfaceSaslServer- Throws:
SaslException
-
dispose
- Specified by:
disposein interfaceSaslServer- Throws:
SaslException
-