Authentication

From services.krediidiinfo.ee
Revision as of 13:41, 28 February 2013 by Kart (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • Basic Authentication

The server responds to the request with the 401 "Authentication Required" header code, to notify the user that authentication is required. The client application must answer with the user name and password. If the user name and password are correct, and the user has the permission to make the request, the corresponding web service answer will be returned. More information on this protocol is available at http://en.wikipedia.org/wiki/Basic_access_authentication. For the developers, we have provided an example of HTTP header.


Browser-based authentication

If the report is requested in a browser window, the user is first asked for the authentication certificate. If no certificate is provided, the next step is to ask the user for a user name and password according to the Basic Authentication method.