Catalyst::ActionRole::RequireSSL3pm
Force an action to be secure only.
Usage
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.
Version
version 1.00
Thanks
Andy Grundman, <[email protected]> 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.
Releases
6 releases since Debian 8 (Jessie); the text changed 1 time.