|
Class: User (in Authentication)
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
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:]
copyrightCOPYRIGHT (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.
instance creation
-
realm: realmString name: nameString secret: secretString
-
create a user and add the data for all implemented mechanism
accessing
-
authenticationMechanisms
-
-
authenticationMechanisms: something
-
-
mechanismFor: aMechanismName
-
answer the authentication mechanism representing aMechanismClassname,
or nil
-
name
-
-
name: something
-
-
realm
-
-
realm: something
-
-
secret: aSecretString
-
create authentication data for all known mechanisms
comparing
-
= 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.
-
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)
|