Packages

c

org.apache.spark.network.sasl

SparkSaslClient

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.

Linear Supertypes
SaslEncryptionBackend, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SparkSaslClient
  2. SaslEncryptionBackend
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SparkSaslClient(secretKeyId: String, secretKeyHolder: SecretKeyHolder, encrypt: Boolean)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. 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()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. def firstToken(): Array[Byte]

    Used to initiate SASL handshake with server.

  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getNegotiatedProperty(name: String): AnyRef

    Returns the value of a negotiated property.

  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def isComplete(): Boolean

    Determines whether the authentication exchange has completed.

  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. 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

  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. def unwrap(data: Array[Byte], offset: Int, len: Int): Array[Byte]

    Decrypt data.

    Decrypt data.

    Definition Classes
    SparkSaslClient → SaslEncryptionBackend
    Annotations
    @Override()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. def wrap(data: Array[Byte], offset: Int, len: Int): Array[Byte]

    Encrypt data.

    Encrypt data.

    Definition Classes
    SparkSaslClient → SaslEncryptionBackend
    Annotations
    @Override()

Inherited from SaslEncryptionBackend

Inherited from AnyRef

Inherited from Any

Ungrouped