NAME

Plack::Middleware::SubSpec::Authz::ACL - Authorize client using access-control list

VERSION

version 0.10

SYNOPSIS

# In app.psgi
use Plack::Builder;

builder {
   enable "SubSpec::Authz::ACL";
};

DESCRIPTION

This middleware authorizes clients using access-control list (ACL). ACL can be specified in the 'acl' configuration or from a file ('acl_file').

CONFIGURATION

  • acl => ARRAY

  • acl_file => STR

  • autoreload_acl_file => BOOL (default 0)

AUTHOR

Steven Haryanto <stevenharyanto@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Steven Haryanto.

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