Alain-Aymerick FRANCOIS
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Cassify] Bypass querystring being added to logout redirectHi,
You’re right. I try to fix it on next release.
Best regards.Forum: Plugins
In reply to: [WP Cassify] Cheatin’ errorI close ticket. Sorry.
Forum: Plugins
In reply to: [WP Cassify] Cheatin’ errorNo answer from one month, so i close ticket.
Forum: Plugins
In reply to: [WP Cassify] How can I add my CAS configuration Hardcoded.Hi,
Plugin is not designed to store configuration into a file. This because i would respect standard guidelines and most of WordPress plugins store configuration inside database.
But you can hack the plugin to retrieve plugin configuration options from file. To do this, replace content of wp_cassify_get_option located inside class WP_Cassify_Utils.
In newest version, i would add new feature in plugin admin panel to backup configuration to JSON file and also restore from JSON file. But configuration options are still stored inside WordPress database.
Best regards.
Forum: Plugins
In reply to: [WP Cassify] Name of the service validate servlet option not saving correctlyHi,
I don’t want to move my project on another platform. I prefer to stay on WordPress.org platform for some reasons.
But, i’m very open to suggestions (you can read this forum to see it). I’ve already integrated code from anothers. But, i want to stay master of my plugin and control code before integration.Eventually, if you want to do code submission regularly, i can write your wordpress.org login in readme.txt. So you can be seen as co-author plugin.
You can use this forum to start conversation.
Best regards.
Forum: Plugins
In reply to: [WP Cassify] Name of the service validate servlet option not saving correctlyHi,
If you select 3 for CAS Protocol version, wp_cassify_service_validate_servlet is set to p3/serviceValidate. Select 2 for CAS Protocol version.
Best regards.
Forum: Plugins
In reply to: [WP Cassify] single log out wp cassifyHi,
SLO is not yet implemented in WP Cassify.Best regards.
Forum: Plugins
In reply to: [WP Cassify] White list URLHi,
I think it’s plugin incompatibility because plugin you’re using to rename WP login page define actions which execute earlier than WP Cassify plugin actions.
To performs mixed authentication forms follow tutorial described in documentation (Bypass CAS authentication)https://wpcassify.wordpress.com/getting-started/.
Best regards.Forum: Plugins
In reply to: [WP Cassify] Users Roles SettingHi,
I think the best answer is to add an plugin option “purge user roles before applying rules”.So, if your users accounts are stored in an openldap exposed throught CAS and if you want to switch an administrator to a simple subscriber, you’ve just to move user account in another OU (LDAP organizational unit). Then user account become new attributes from his new OU.
Then on each login, users roles are deleted and new roles are pushed according to CAS attributes.
Because users roles rules are build according to CAS Users attributes.
So, if there is some changes, they must be performed into CAS user database (ie LDAP, SQL database, File). And WP Cassify users roles rules reapply changes to WP user profile.
This is not the role of plugin to manage users changes. Changes must ne done in users database source.
Best regards.
Forum: Plugins
In reply to: [WP Cassify] Users Roles SettingHi,
Now, no role is pushed by default because due to security concerns. If user match with 2 rules (one for admin ans one for subscriber), two roles are pushed to user.
Best regards.Forum: Plugins
In reply to: [WP Cassify] Nginx compatibilityUnfortunately, i use only Apache config in my job. I’m not an Nginx Expert.
So, Have you tried to make a wget on CAS home url from your WordPress host ?
If you have also 302 redirect, i’m not sure but it may be have some problem with your Nginx configuration.
It’s possible to see your nginx configuration file ?
See that :http://serverfault.com/questions/612690/tomcat7-nginx-ssl-causes-redirect-loop
Best regards.
Forum: Plugins
In reply to: [WP Cassify] Nginx compatibilityHi,
Now, you’ve the answer. WordPress platform can’t join CAS Server to validate the ticket.
Is it the same machine wich host wordpress blog and CAS server ?
What’s configuration of your CAS Server (Tomcat behind Apache or NGINX, or Tomcat only in front) ? Have you enable something like Apache Mod Security ?
I don’t know why your CAS Server make 302 redirect when WordPress try to join him.
From my point of view, it seems to be a network problem with your specific configuration not a plugin bug.
Best regards
Forum: Plugins
In reply to: [WP Cassify] Nginx compatibilityYou can also try this.
In your wp-config.php :
@ini_set(‘display_errors’,’Off’);
@ini_set(‘log_errors’,’On’);
// (Adapt path to your config)
@ini_set(‘error_log’,’/var/www/your-website/phperrors.log’);In file classes/wp_cassify_plugin.php, at line 346, write this :
error_log( print_r( $cas_server_xml_response, TRUE ) );Try to connect and then send me phperrors.log content.
Forum: Plugins
In reply to: [WP Cassify] Nginx compatibilityThere is a problem with CAS Server xml response.
You can try to enable “dump last xml cas server response” option in debug settings.
Then you try to connect. After that, close browser and re-auth with local admin wordpress account. In WP Cassify debug settings, you can show the last xml cas server response in textarea.
Forum: Plugins
In reply to: [WP Cassify] Nginx compatibilityHi,
I’m not competent on WP with Nginx. But, i think it may be a rewrite rule problem. In your example, question mark is missing in url before ticket get parameter : “http://domain.com/ticket=xxxxxxxxxxxx-cas”.
It should be like this :
“http://domain.com/?ticket=xxxxxxxxxxxx-cas”.
Best regards.