All pastes #456029 Raw Edit

Untitled

public text v1 · immutable
#456029 ·published 2007-04-24 17:05 UTC
rendered paste body

package TWiki::Users::DrupalUserMapping;

use strict;
use strict;
use Assert;
use TWiki::User;
use TWiki::Time;
use Error qw( :try );

use base 'TWiki::Users::TWikiUserMapping';

=pod

---++ ObjectMethod lookupLoginName($username) -> $wikiName

Map a username to the corresponding wikiname. This is used for lookups during
user resolution, and should be as fast as possible.

=cut

sub lookupLoginName {
    my ($this, $loginUser) = @_;
    return $loginUser;
}

=pod

---++ Objectmethod lookupWikiName($wikiname) -> $username

Map a wikiname to the corresponding username. This is used for lookups during
user resolution, and should be as fast as possible.

=cut

sub lookupWikiName {
    my ($this, $wikiName) = @_;
	return $wikiName;
}