The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

ePortal::Auth::Base - ePortal authentication module.

SYNOPSIS

This is base class for authentication modules. Others are inherited from this.

METHODS

new

Object constructor.

  • username

    Login user name to deal with.

initialize

Extra initialization module. Derived packages may use it for further initialization

This function is called from object construstor.

check_account

Check user account for existance.

This method is responsible for retrieval of additional user information. This information should be cached.

check_password

Authenticate the user with password

dn

DN of user object in external directory. That is LDAP DN. May be different from username.

title

Additional user information.

full_name

Additional user information

department

Additional user information

membership

Return array of group names where the user is member.

check_group

Check group for existance

  • group_dn

    Group DN to check.

group_title

Group title as present in external directory

  • group_dn

    Group DN to check.

AUTHOR

Sergey Rusakov, <rusakov_sa@users.sourceforge.net>