eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Authentication::User':

Home

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

Class: User (in Authentication)


Inheritance:

   Object
   |
   +--Authentication::User

Package:
stx:goodies/authentication
Category:
Net-Authentication
Version:
rev: 1.5 date: 2017/01/20 18:51:00
user: stefan
file: Authentication__User.st directory: goodies/authentication
module: stx stc-classLibrary: authentication
Author:
Stefan Vogel (stefan@zwerg)

Description:


This is a user that can be authenticated.


[instance variables:]
    name                        String      the name of the user
    realm                       String      the administartive realm of the user
    authenticationMechanisms    Collection  the different authentication mechanisms used to authenticate the user.
                                            They contain the password/secret.

[class variables:]


Related information:

    Authentication::AuthenticationData

Class protocol:

instance creation
o  realm: realmString name: nameString secret: secretString
create a user and add the data for all implemented mechanism


Instance protocol:

accessing
o  authenticationMechanisms

o  authenticationMechanisms: something

o  mechanismFor: aMechanismName
answer the authentication mechanism representing aMechanismClassname,
or nil

o  name

o  name: something

o  realm

o  realm: something

o  secret: aSecretString
create authentication data for all known mechanisms

comparing
o  = aUser

o  hash
(comment from inherited method)
return an Integer useful as a hash key for the receiver.
This hash should return same values for objects with same
contents (i.e. use this to hash on structure)



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 29 Mar 2024 02:13:14 GMT