Squeak Class Documentation category index | class index  
 
Authorizer
  category: Network-Url
  superclass: Object
  subclasses:

The Authorizer does user authorization checking. Each instance of authorizer keeps track of the realm that it is authorizing for, and the table of authorized users. An authorizer can be asked to return the user name/symbol associated with a userID (which concatenates the username and password from the HTTP request) with the user: method.

instance methods
  authentication
  encode:password:
mapFrom:to:
mapName:password:to:
user:

  realms
  realm
realm:

class methods
  as yet unclassified
  unauthorizedFor:

instance methods
  authentication top  
 

encode:password:

Encode per RFC1421 of the username:password combination.


 

mapFrom:to:

Establish a mapping from a RFC 1421 key to a user.


 

mapName:password:to:

Insert/remove the encoding per RFC1421 of the username:password combination into/from the UserMap. DO NOT call this directly, use mapName:password:to: in your ServerAction class. Only it knows how to record the change on the disk!


 

user:

Return the requesting user.


  realms top  
 

realm


 

realm:


class methods
  as yet unclassified top  
 

unauthorizedFor: