Hi All,
I'm having a little trouble with sfSslRequirementPlugin. Basically,
the plugin works great, but I am running into an issue where, for some
reason, one of my actions isn't picked up in the security
configuration. I've looked into the issue a bit and simply seems as if
my second action isn't getting parsed into the config.
Here's the relevant lines from my security.yml
signup:
require_ssl: true
login:
require_ssl: true
signupInternational:
require_ssl: true
Every other module works perfectly, so it's perplexing why this would
be happening. Are the names too similar? As a temporary hack, I've
edited sfSslRequirementActionMixin.class.php to contain the line:
if($actionName==="signupInternational"){
return true;
}
Just after the other checks. It works fine, but it is obviously
covering up another problem. You should note that other security
descriptors, like "is_secure" *do* impact the page in question---just
not sfSslRequirement.
What gives?
I am currently solving this requirement with Apache Rewrites, but I
think doing it with this plugin is much more elegant, as it doesn't
require me to reimplement new rules when it's moved between machines.
Any insight would be greatly appreciated.
Best,
JLS
John L. Singleton
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---