class SparkSaslClient extends SaslEncryptionBackend
A SASL Client for Spark which simply keeps track of the state of a single SASL session, from the initial state to the "authenticated" state. This client initializes the protocol via a firstToken, which is then followed by a set of challenges and responses.
- Alphabetic
- By Inheritance
- SparkSaslClient
- SaslEncryptionBackend
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SparkSaslClient(secretKeyId: String, secretKeyHolder: SecretKeyHolder, encrypt: Boolean)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
dispose(): Unit
Disposes of any system resources or security-sensitive information the SaslClient might be using.
Disposes of any system resources or security-sensitive information the SaslClient might be using.
- Definition Classes
- SparkSaslClient → SaslEncryptionBackend
- Annotations
- @Override()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
firstToken(): Array[Byte]
Used to initiate SASL handshake with server.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getNegotiatedProperty(name: String): AnyRef
Returns the value of a negotiated property.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isComplete(): Boolean
Determines whether the authentication exchange has completed.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
response(token: Array[Byte]): Array[Byte]
Respond to server's SASL token.
Respond to server's SASL token.
- token
contains server's SASL token
- returns
client's response SASL token
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unwrap(data: Array[Byte], offset: Int, len: Int): Array[Byte]
Decrypt data.
Decrypt data.
- Definition Classes
- SparkSaslClient → SaslEncryptionBackend
- Annotations
- @Override()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
wrap(data: Array[Byte], offset: Int, len: Int): Array[Byte]
Encrypt data.
Encrypt data.
- Definition Classes
- SparkSaslClient → SaslEncryptionBackend
- Annotations
- @Override()