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.6 date: 2021/01/20 15:29:31
user: cg
file: Authentication__User.st directory: goodies/authentication
module: stx stc-classLibrary: authentication

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:]

copyright

COPYRIGHT (c) 2006 by eXept Software AG All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

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
(comment from inherited method)
return true if the receiver and the arg have the same structure.
Notice:
This method is partially open coded (inlined) by the compiler(s)
identical objects are always considered equal.
redefining it may not work as expected.

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:23:12 GMT