{"id":4982,"date":"2009-03-30T13:48:48","date_gmt":"2009-03-30T13:48:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wpcas-server\/"},"modified":"2012-07-12T13:42:46","modified_gmt":"2012-07-12T13:42:46","slug":"wpcas-server","status":"publish","type":"plugin","link":"https:\/\/kea.wordpress.org\/plugins\/wpcas-server\/","author":3912950,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"trunk","tested":"2.9.2","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"wpCAS Server","header_author":"Matthew Batchelder","header_description":"","assets_banners_color":"","last_updated":"2012-07-12 13:42:46","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/borkweb.com\/projects\/wpcas-server","header_author_uri":"http:\/\/borkweb.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2470,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[8382,710,63211,67930,72002],"plugin_category":[38],"plugin_contributors":[77673,83539],"plugin_business_model":[],"class_list":["post-4982","plugin","type-plugin","status-publish","hentry","plugin_tags-auth","plugin_tags-authentication","plugin_tags-central-authentication-service","plugin_tags-wpcas","plugin_tags-wpcas-server","plugin_category-authentication","plugin_contributors-borkweb","plugin_contributors-misterbisson","plugin_committers-adambackstrom","plugin_committers-borkweb"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wpcas-server.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin reserves a collection of URIs that create, validate, and destroy CAS tickets.<\/p>\n\n<ul>\n<li><p>\/cas\/login :: If user is not authenticated he\/she is redirected to the login page.  Otherwise the user is redirected to the service specified as a GET variable in the URL - or if service is not provided, the user is redirected to the WordPress instance's home.<\/p><\/li>\n<li><p>\/cas\/logout :: The user's session is destroyed, user is logged out of the WordPress instance, and redirected to $_GET['service'] (or the blog home if service isn't provided)<\/p><\/li>\n<li><p>\/cas\/proxyValidate and \/cas\/validate :: The CAS ticket must be passed as a GET parameter in the URL when calling \/cas\/validate.  The ticket is validated and XML is output with either cas:authenticationSuccess or cas:authenticationFailure<\/p><\/li>\n<\/ul>\n\n<h3>Hooks &amp; Filters<\/h3>\n\n<h4>wpcas_server_login Hook<\/h4>\n\n<p>This hook allows for the insertion of code after login has successfully completed and just before the ticket creation.  One common use of this hook is to fill out the $_SESSION variable with site\/user specific information.<\/p>\n\n<h4>wpcas_server_auth_value Filter<\/h4>\n\n<p>This filter (executed in a successful ticket validation in \/cas\/validate) is used to override the user identifier returned in the cas:authenticationSuccess XML response.  By default, the value returned is the $user_ID of the authenticated user.  Using this filter, that value can be altered to whatever suits your implementation.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>wpcas-server<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What version of CAS does this plugin replicate?<\/dt>\n<dd><p>wpCAS Server currently replicates partial functionality of a CAS 2.0 server.<\/p><\/dd>\n<dt>You just said \"partial\"...what doesn't this support?<\/dt>\n<dd><p>Currently wpCAS Server has not implemented the Proxy ticketing found in the <a href=\"http:\/\/www.jasig.org\/cas\/cas2-architecture\">CAS 2.0 architecture<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Turns WordPress or WordPress MU into a CAS single sign-on authenticator.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/4982","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=4982"}],"author":[{"embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/adambackstrom"}],"wp:attachment":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=4982"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=4982"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=4982"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=4982"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=4982"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=4982"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}