Authenticate by sending the equence of messages exchanged during SRP through socket
, acting as the server
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
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.
The username of the client
Option[Tuple4[String,String,String,String]] An Option Tuple of sessionId, Hash(sessionId), s, B
Saves the user credentials provided
Saves the user credentials provided
Saves the calculated user credentials- userName, s, v
Saves the calculated user credentials- userName, s, v
The password to be used to save user credentials
Tuple3[Array[Byte],Array[Byte],Array[Byte]] s,x and v
Tuple2 _1: salt, _2: x
Server for SRP authentication as implemented in Vector.
Before use, user credentials need to be saved by the server, i.e. calling the
saveUserCredentials
method