Wallace Reis > Catalyst-ActionRole-RequireSSL-0.07 > Catalyst::ActionRole::RequireSSL

Download:
Catalyst-ActionRole-RequireSSL-0.07.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.07   Source  

NAME ^

Catalyst::ActionRole::RequireSSL - Force an action to be secure only.

VERSION ^

version 0.07

SYNOPSIS ^

  package MyApp::Controller::Foo;

  use parent qw/Catalyst::Controller::ActionRole/;

  sub bar : Local Does('RequireSSL') { ... }
  sub bar : Local Does('NoSSL') { ... }

HIERARCHY

You can chain the SSL Roles to allow for enforced combinations such as all secure apart from a certain action and vice versa. See the tests to see this in action.

AUTHOR ^

Simon Elliott <cpan@papercreatures.com>

THANKS ^

Andy Grundman, <andy@hybridized.org> for the original RequireSSL Plugin

t0m (Tomas Doran), zamolxes (Bogdan Lucaciu), wreis (Wallace Reis)

COPYRIGHT & LICENSE ^

Copyright 2009 by Simon Elliott

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

syntax highlighting: