Difference: SourceCode (2 vs. 3)

Revision 325 Jun 2006 - Main.TWikiContributor

Line: 81 to 81
 of this class, implementing the methods marked as VIRTUAL. There are already examples in the lib/TWiki/Client directory.
Added:
>
>
The class has extensive tracing, which is enabled by $TWiki::cfg{Trace}{Client.pm}. The tracing is done in such a way as to let the perl optimiser optimise out the trace function as a no-op if tracing is disabled.

ObjectData? twiki

The TWiki object this login manager is attached to.
 

This package has smell factor of 3

Line: 203 to 211
 
Changed:
<
<
This package has smell factor of 29
>
>
This package has smell factor of 30
 

TWiki::Form

Line: 404 to 412
 
Changed:
<
<
This package has smell factor of 1
>
>
This package has smell factor of 2
 

TWiki::Prefs::PrefsCache

Line: 435 to 443
 
Changed:
<
<
This package has smell factor of 23
>
>
This package has smell factor of 22
 

TWiki::Sandbox

This object provides an interface to the outside world. All calls to
Line: 654 to 662
 
Changed:
<
<
This package has smell factor of 28
>
>
This package has smell factor of 20
 

TWiki::UI::Rest?

Line: 670 to 678
 
Changed:
<
<
This package has smell factor of 1
>
>
This package doesn't smell
 

TWiki::UI::Search

Line: 693 to 701
 
Changed:
<
<
This package has smell factor of 5
>
>
This package has smell factor of 6
 

TWiki::UI::View

Line: 711 to 719
 
Changed:
<
<
This package has smell factor of 5
>
>
This package has smell factor of 4
 

TWiki::Users::ApacheHtpasswdUser

Line: 734 to 742
 
Changed:
<
<
This package has smell factor of 4
>
>
This package has smell factor of 2
 

TWiki::Users::Password

Line: 746 to 754
 
Changed:
<
<
This package doesn't smell
>
>
This package has smell factor of 1

TWiki::Users::TWikiUserMapping?

User mapping is the process by which TWiki maps from a username (a login name) to a wikiname and back. It is also where groups are maintained.

By default TWiki maintains user topics and group topics in the Main that define users and group. These topics are

  • TWikiUsers - stores a mapping from usernames to TWiki names
  • WikiName - for each user, stores info about the user
  • GroupNameGroup - for each group, a topic ending with "Group" stores a list of users who are part of that group.

Many sites will want to override this behaviour, for example to get users and groups from a corporate database.

This class implements the basic TWiki behaviour using topics to store users, but is also designed to be subclassed so that other services can be used.

Subclasses should be named 'XxxxUserMapping' so that configure can find them.

All methods in this class should be implemented by subclasses.

This package has smell factor of 4

 
Changed:
<
<
There were a total of 232 smells
>
>
There were a total of 227 smells
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.SourceCode