eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Authentication::BasicAuthenticator::BasicAuthenticationData':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: BasicAuthenticationData (private in BasicAuthenticator

This class is only visible from within BasicAuthenticator.

Inheritance:

   Object
   |
   +--Authentication::AuthenticationData
      |
      +--Authentication::BasicAuthenticator::BasicAuthenticationData

Package:
stx:goodies/authentication
Category:
Net-Authentication
Owner:
Authentication::BasicAuthenticator

Class protocol:

queries
o  mechanismName
answer the name of the mechanism as known in the protocols


Instance protocol:

accessing
o  user: user secret: passwordString
encode the secret for user and store it.
Use SSHA1 (salted SHA1 to generate a one-way-hash of the password.

usage example(s):

      self new user:nil secret:'test'.

private
o  checkSecret: passwordString
answer true, if passwordString matches the encoded secret

usage example(s):

      self new user:nil secret:'test';
               checkSecret:'test'.

      self new user:nil secret:'test';
               checkSecret:'bla'.



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Sun, 27 Nov 2022 09:31:10 GMT