[not loaded]All predicatesShow sourcehttp_authenticate.pl -- SWISH login management

This module provides basic login and password management facilities for SWISH. You can create an authenticated SWISH server by

  1. Loading this library
  2. Add one or more users to the passwd file using swish_add_user/0
    ?- swish_add_user.
    User name: Bob
    Real name: Bob de Bouwer
    Group:     user
    E-mail:	bob@bouwer.com
    Password:
    (again):
    true.

Authentication is by default based on HTTP digest authentication, which uses a challenge-response to avoid exchanging the plain password and uses sequence numbers to avoid replaying actions. This basically protects non-authorized users from entering commands, but does not encrypt the communication.