BellevueCollege / wordpress-cas-client

A CAS client plugin for Wordpress sites, forked from http://wordpress.org/support/plugin/wpcas-w-ldap
GNU General Public License v2.0
11 stars 8 forks source link

Auto verify settings for user #20

Open jonathanwindle-zz opened 11 years ago

jonathanwindle-zz commented 11 years ago

The plugin currently takes the user's configuration as is and attempts to blindly use it. When possible the plugin should validate the configuration and only enable itself once the configuration passes validation testing. This mainly applies to the configuration for the CAS and LDAP server, but all fields should be verified for correct formatting if they can not be verified as valid. It would be helpful for the plugin to validate the server can actually be contacted as the plugin expects and provide feedback to the user for troubleshooting.

For best user experience the validation should be automatic and not require user intervention.

It is possible the user may want the plugin to use settings that can not be validated. Validation itself should also be an option that can be toggled on and off.