NAME
OpenFrame::WebApp::Segment::User::EnvLoader - a pipeline segment to load users from the environment.
SYNOPSIS
# see OpenFrame::WebApp::Segment::User::Loader for usage
# loads user specified by $ENV{REMOTE_USER}
DESCRIPTION
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
- $id = $obj->find_user_id()
-
finds user id.
- $id = $obj->look_in_env()
-
gets user id from $ENV{REMOTE_USER}.
AUTHOR
Steve Purkis <spurkis@epn.nu>
COPYRIGHT
Copyright (c) 2003 Steve Purkis. All rights reserved. Released under the same license as Perl itself.
SEE ALSO
OpenFrame::WebApp::User, OpenFrame::WebApp::User::Factory, OpenFrame::WebApp::Segment::User::Loader