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
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
byte[]
evaluateResponse
(byte[] response) getNegotiatedProperty
(String propName) boolean
private void
byte[]
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:
getMechanismName
in interfaceSaslServer
-
evaluateResponse
- Specified by:
evaluateResponse
in interfaceSaslServer
- Throws:
SaslException
-
throwIfNotComplete
-
isComplete
- Specified by:
isComplete
in interfaceSaslServer
-
getAuthorizationID
- Specified by:
getAuthorizationID
in interfaceSaslServer
-
getNegotiatedProperty
- Specified by:
getNegotiatedProperty
in interfaceSaslServer
-
wrap
- Specified by:
wrap
in interfaceSaslServer
- Throws:
SaslException
-
unwrap
- Specified by:
unwrap
in interfaceSaslServer
- Throws:
SaslException
-
dispose
- Specified by:
dispose
in interfaceSaslServer
- Throws:
SaslException
-