NAME

Apache::Sling::Authn - Authenticate to an Apache Sling instance.

ABSTRACT

Useful utility functions for general Authn functionality.

METHODS

new

Create, set up, and return an Authn object.

set_results

Set a suitable message and response object.

basic_login

Perform basic authentication for a user.

login_user

Perform login authentication for a user.

switch_user

Switch to a different authenticated user.

USAGE

use Apache::Sling::Authn;

DESCRIPTION

Library providing useful utility functions for general Authn functionality.

REQUIRED ARGUMENTS

None required.

OPTIONS

n/a

DIAGNOSTICS

n/a

EXIT STATUS

0 on success.

CONFIGURATION

None required.

DEPENDENCIES

LWP::UserAgent

INCOMPATIBILITIES

None known.

BUGS AND LIMITATIONS

None known.

AUTHOR

Daniel David Parry <perl@ddp.me.uk>

LICENSE AND COPYRIGHT

LICENSE: http://dev.perl.org/licenses/artistic.html

COPYRIGHT: (c) 2011 Daniel David Parry <perl@ddp.me.uk>