Class

com.actian.spark_vector.srp

VectorSRPServer

Related Doc: package srp

Permalink

class VectorSRPServer extends SRPServer with Logging

Server for SRP authentication as implemented in Vector.

Note

Before use, user credentials need to be saved by the server, i.e. calling the saveUserCredentials method

Linear Supertypes
SRPServer, ServerSRPParameter, SRPParameter, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VectorSRPServer
  2. SRPServer
  3. ServerSRPParameter
  4. SRPParameter
  5. Logging
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VectorSRPServer()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def B(vVal: Array[Byte], bVal: Array[Byte]): Array[Byte]

    Permalink
    Definition Classes
    ServerSRPParameter
  5. def M(A: Array[Byte], clientM: Array[Byte], K: Array[Byte]): Array[Byte]

    Permalink
    Definition Classes
    ServerSRPParameter
  6. def N: BigInt

    Permalink
    Definition Classes
    VectorSRPServerSRPParameter
  7. def S(A: Array[Byte], vVal: Array[Byte], u: Array[Byte], bVal: Array[Byte]): Array[Byte]

    Permalink
    Definition Classes
    ServerSRPParameter
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def authenticate(implicit socket: SocketChannel): Unit

    Permalink

    Authenticate by sending the equence of messages exchanged during SRP through socket, acting as the server

  10. def b: Array[Byte]

    Permalink
    Definition Classes
    ServerSRPParameter
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def findSV(userName: String): Option[(Array[Byte], Array[Byte])]

    Permalink

    Finder method to get the s and v for the given user with userName

    Finder method to get the s and v for the given user with userName

    Definition Classes
    VectorSRPServerSRPServer
  16. def g: BigInt

    Permalink
    Definition Classes
    VectorSRPServerSRPParameter
  17. def gPowXModN(x: Array[Byte]): BigInt

    Permalink
    Definition Classes
    SRPParameter
  18. def gen32RandomBytes: Array[Byte]

    Permalink
    Definition Classes
    SRPParameter
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def getSessionWithClientParameters(userName: String, A: Array[Byte]): Option[(Array[Byte], Array[Byte], Array[Byte], Array[Byte])]

    Permalink

    Given userName and A received from the client, this method generates the expected current session ID when generated parameters s, B are returned to the client.

    Given userName and A received from the client, this method generates the expected current session ID when generated parameters s, B are returned to the client.

    userName

    The username of the client

    returns

    Option[Tuple4[String,String,String,String]] An Option Tuple of sessionId, Hash(sessionId), s, B

    Definition Classes
    SRPServer
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  25. def k: Array[Byte]

    Permalink
    Definition Classes
    SRPParameter
  26. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  27. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  28. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  29. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  30. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  31. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  32. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  33. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  34. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  35. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  36. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  37. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  38. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  39. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  40. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  41. def q: BigInt

    Permalink
    Definition Classes
    SRPParameter
  42. def save(userName: String, s: Array[Byte], v: Array[Byte]): Unit

    Permalink

    Saves the user credentials provided

    Saves the user credentials provided

    Definition Classes
    VectorSRPServerSRPServer
  43. def saveUserCredentials(userName: String, password: String): (Array[Byte], Array[Byte], Array[Byte])

    Permalink

    Saves the calculated user credentials- userName, s, v

    Saves the calculated user credentials- userName, s, v

    password

    The password to be used to save user credentials

    returns

    Tuple3[Array[Byte],Array[Byte],Array[Byte]] s,x and v

    Definition Classes
    SRPServer
  44. val sr: SecureRandom

    Permalink
    Definition Classes
    SRPParameter
  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  46. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  47. def u(A: Array[Byte], B: Array[Byte]): Array[Byte]

    Permalink
    Definition Classes
    SRPParameter
  48. def v(x: Array[Byte]): Array[Byte]

    Permalink
    Definition Classes
    ServerSRPParameter
  49. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. def x(username: String, password: String): (Array[Byte], Array[Byte])

    Permalink

    returns

    Tuple2 _1: salt, _2: x

    Definition Classes
    ServerSRPParameter
  53. def x(s: Array[Byte], username: String, password: String): Array[Byte]

    Permalink
    Definition Classes
    SRPParameter

Inherited from SRPServer

Inherited from ServerSRPParameter

Inherited from SRPParameter

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped