OpenFrame::WebApp::Segment::User::EnvLoader - a pipeline segment to load users


OpenFrame-WebApp documentation  | view source Contained in the OpenFrame-WebApp distribution.

Index


NAME

Top

OpenFrame::WebApp::Segment::User::EnvLoader - a pipeline segment to load users from the environment.

SYNOPSIS

Top

  # see OpenFrame::WebApp::Segment::User::Loader for usage
  # loads user specified by $ENV{REMOTE_USER}

DESCRIPTION

Top

The OpenFrame::WebApp::Segment::User::EnvLoader class is a user loader that gets user id's from the REMOTE_USER environment var. It inherits its interface from OpenFrame::WebApp::Segment::User::Loader.

METHODS

Top

$id = $obj->find_user_id()

finds user id.

$id = $obj->look_in_env()

gets user id from $ENV{REMOTE_USER}.

AUTHOR

Top

Steve Purkis <spurkis@epn.nu>

COPYRIGHT

Top

SEE ALSO

Top

OpenFrame::WebApp::User, OpenFrame::WebApp::User::Factory, OpenFrame::WebApp::Segment::User::Loader


OpenFrame-WebApp documentation  | view source Contained in the OpenFrame-WebApp distribution.