Package TWiki::Users::JoomlaUserMapping
extends TWiki::Users::TWikiUserMapping
Base class of all user handlers. Default behaviour is to use TWiki Topics for user and group info
The methods of this class should be overridden by subclasses that want
to implement other password handling methods.
ClassMethod new ($session) -> $object
Constructs a new password handler of this type, referring to $session
for any required TWiki services.
ObjectMethod addUserToMapping ($user) -> $topicName
This function is only sensible if we are using
TWikiUsers? - it should probably be
refactored into a make User->login map which in
TWikiUsers? is traditionally done
in the user topic.
ObjectMethod isGroup ($user) -> boolean
Establish if a user object refers to a user group or not.
The default implementation is to check if the wikiname of the user ends with
'Group'. Subclasses may override this behaviour to provide alternative
intepretations. The
SuperAdminGroup? is recognized as a group no matter
what it's name is.
ObjectMethod groupMembers () -> @members
Return a list of user objects that are members of this group. Should only be
called on groups.