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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 22 Dec 2024 01:03:09 GMT