<ahref="https://wordpress.org/"class="urlextern"title="https://wordpress.org/"rel="nofollow">Wordpress</a> is a famous tool to create websites.
</p>
<p>
A lot of authentication plugins are available. We propose here to use <abbrtitle="Central Authentication Service">CAS</abbr> protocol and <ahref="https://wordpress.org/plugins/wp-cassify/"class="urlextern"title="https://wordpress.org/plugins/wp-cassify/"rel="nofollow">WP Cassify</a> plugin.
Go in Wordpress admin and install <ahref="https://wordpress.org/plugins/wp-cassify/"class="urlextern"title="https://wordpress.org/plugins/wp-cassify/"rel="nofollow">WP Cassify</a> plugin.
The full documentation is available on <ahref="https://wpcassify.wordpress.com/"class="urlextern"title="https://wpcassify.wordpress.com/"rel="nofollow">https://wpcassify.wordpress.com/</a>
</p>
</div>
<h4id="general_settings">General settings</h4>
<divclass="level4">
<p>
Configure <abbrtitle="Central Authentication Service">CAS</abbr> server and <abbrtitle="Central Authentication Service">CAS</abbr> version:
</p>
<ul>
<liclass="level1"><divclass="li"><abbrtitle="Central Authentication Service">CAS</abbr> Server base url : <ahref="https://auth.example.com/cas/"class="urlextern"title="https://auth.example.com/cas/"rel="nofollow">https://auth.example.com/cas/</a></div>
</li>
<liclass="level1"><divclass="li"><abbrtitle="Central Authentication Service">CAS</abbr> Version protocol: 2</div>
You can assign WP Roles depending on values sent by <abbrtitle="Central Authentication Service">CAS</abbr>.
</p>
<p>
The rules syntax is quite special, you can use it or you can just define macros on <abbrtitle="LemonLDAP::NG">LL::NG</abbr> side and send them trough <abbrtitle="Central Authentication Service">CAS</abbr> to keep simple rules on WP side.
</p>
<p>
For example create a macro <code>role_wordpress_admin</code> which contains <code>1</code> if the user is admin on WP, and send it in <abbrtitle="Central Authentication Service">CAS</abbr> attributes.