DOKK / manpages / debian 12 / libcatalyst-actionrole-requiressl-perl / Catalyst::ActionRole::RequireSSL.3pm.en
Catalyst::ActionRole::RequireSSL(3pm) User Contributed Perl Documentation Catalyst::ActionRole::RequireSSL(3pm)

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

version 1.00

  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.

Simon Elliott <cpan@papercreatures.com>

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

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

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.

2018-03-17 perl v5.26.1