Lightstreamer .Net Adapter 1.7
|
Called by Lightstreamer Kernel, through the Remote Server, instead of calling the 3-arguments version, in case the Server has been instructed to acquire the client principal from the client TLS/SSL certificate through the <use_client_auth> configuration flag.
Note that the above flag can be set for each listening port independently (and it can be set for TLS/SSL ports only), hence, both overloads may be invoked, depending on the port used by the client.
Also note that in case client certificate authentication is not forced on a listening port through <force_client_auth>, a client request issued on that port may not be authenticated, hence it may have no principal associated. In that case, if <use_client_auth> is set, this overload will still be invoked, with null principal.
See the base 3-arguments version for other notes.
Edition Note: https connections are not enabled in Allegro edition.
Edition Note: https connections are not enabled in Moderato edition.
void NotifyUser(string user, string password, IDictionary httpHeaders, string clientPrincipal);
void NotifyUser(string user, string password, IDictionary httpHeaders, string clientPrincipal);
Function NotifyUser(user As string, password As string, httpHeaders As IDictionary, clientPrincipal As string) As void
Parameters |
Description |
string user |
A User name. |
string password |
A password optionally required to validate the User. |
IDictionary httpHeaders |
An IDictionary-type value object that contains a name-value pair for each header found in the HTTP request that originated the call. |
string clientPrincipal |
the identification name reported in the client TLS/SSL certificate supplied on the socket connection used to issue the request that originated the call; it can be null if client has not authenticated itself or the authentication has failed. |
Exceptions |
Description |
in case the User name is not known or the supplied password is not correct. | |
in case the User is known but is not enabled to make further Requests at the moment. |