Package org.apache.bookkeeper.sasl
Class SaslClientState
- java.lang.Object
-
- org.apache.bookkeeper.sasl.SaslClientState
-
public class SaslClientState extends java.lang.Object
A SASL Client State data object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
SaslClientState.ClientCallbackHandler
-
Constructor Summary
Constructors Constructor Description SaslClientState(java.lang.String serverHostname, javax.security.auth.Subject subject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
evaluateChallenge(byte[] saslToken)
boolean
hasInitialResponse()
boolean
isComplete()
byte[]
saslResponse(byte[] saslTokenMessage)
-
-
-
Method Detail
-
evaluateChallenge
public byte[] evaluateChallenge(byte[] saslToken) throws javax.security.sasl.SaslException
- Throws:
javax.security.sasl.SaslException
-
hasInitialResponse
public boolean hasInitialResponse()
-
isComplete
public boolean isComplete()
-
saslResponse
public byte[] saslResponse(byte[] saslTokenMessage)
-
-