Graham Ollis > PlugAuth-Lite-0.07 > plugauthlite

Download:
PlugAuth-Lite-0.07.tar.gz

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

plugauthlite - Minimal PlugAuth server

VERSION ^

version 0.07

SYNOPSIS ^

 % htpasswd 
 % plugauthlite

DESCRIPTION ^

Very minimal PlugAuth server implementation suitable for Clustericious apps to authenticate against using Clustericious::Plugin::PlugAuth.

The only prerequsites are Mojolicious and a Perl supported by Mojolicious.

It provides authentication only (not authorization). Username/password combinations are specified in a standard Apache like password file. If Crypt::PasswdMD5 is installed then the passwords can be encrypted.

The password file is specified using the environment variable PLUGAUTH_LITE_FILE and passwd in the current directory is used by default. If the environment variable PLUGAUTH_LITE_PLAIN is true then it will not attempt to use Crypt::PasswdMD5 and will not use encryption for the password file.

ROUTES ^

Any routes not specified return 404.

GET /auth

GET /authz/user/#user/#action/(*resource)

For this server all user/action/resource combination are authorized. If you need to customize the authorization, use the full featured PlugAuth server or partially featured Mojolicious::Plugin::PlugAuthLite plugin.

AUTHOR ^

Graham Ollis <plicease@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Graham Ollis.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: