eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Authentication::AuthenticationData':

Home

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

Class: AuthenticationData (in Authentication)


Inheritance:

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

Package:
stx:goodies/authentication
Category:
Net-Authentication
Version:
rev: 1.6 date: 2017/02/10 10:21:22
user: cg
file: Authentication__AuthenticationData.st directory: goodies/authentication
module: stx stc-classLibrary: authentication
Author:
Stefan Vogel (stefan@zwerg)

Description:


This is an abstract superclass.
Subclasses hold authentication data for a user (secret/password). 
Authenticators are repsonsible to authenticate this data.


[instance variables:]

[class variables:]


Related information:

    Authentication::Authenticator
    Authentication::User

Class protocol:

instance creation
o  newForUser: user secret: aSecretString
create an instance of myself with secret

o  newMechanism: mechanismName
create an empty instance for a given mechanism

queries
o  isAbstract
Return if this class is an abstract class.
True is returned here for myself only; false for subclasses.
Abstract subclasses must redefine this again.

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

** This method raises an error - it must be redefined in concrete classes **


Instance protocol:

accessing
o  encodedSecret

o  encodedSecret: something

o  user: user secret: something
encode the secret for user and store it

** This method raises an error - it must be redefined in concrete classes **

comparing
o  = authenticationData

o  hash

storing
o  storeOn: aStream



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