comanage-dev - [comanage-dev] r506 - in registry/trunk/app/Plugin/Grouper: Config Lib
Subject: COmanage Developers List
List archive
- From:
- To:
- Subject: [comanage-dev] r506 - in registry/trunk/app/Plugin/Grouper: Config Lib
- Date: Mon, 22 Apr 2013 09:21:40 -0400
- Authentication-results: sfpop-ironport01.merit.edu; dkim=neutral (message not signed) header.i=none
Author: skoranda
Date: 2013-04-22 09:21:40 -0400 (Mon, 22 Apr 2013)
New Revision: 506
Modified:
registry/trunk/app/Plugin/Grouper/Config/bootstrap.php
registry/trunk/app/Plugin/Grouper/Lib/GrouperRestClient.php
Log:
Enable no SSL verify peer for Grouper WS (CO-604)
Modified: registry/trunk/app/Plugin/Grouper/Config/bootstrap.php
===================================================================
--- registry/trunk/app/Plugin/Grouper/Config/bootstrap.php 2013-04-20
13:12:48 UTC (rev 505)
+++ registry/trunk/app/Plugin/Grouper/Config/bootstrap.php 2013-04-22
13:21:40 UTC (rev 506)
@@ -40,6 +40,9 @@
Configure::write('Grouper.pass', 'XXXXXXXX');
Configure::write('Grouper.basePath',
'grouper-system/servicesRest/v2_1_000/');
+// Only set to false if necessary for debugging and development.
+Configure::write('Grouper.sslVerifyPeer', true);
+
Configure::write('Grouper.COmanage.baseStem',
'Reference:COmanageDataSource');
Configure::write('Grouper.COmanage.grouperStemDelineator', ':');
Configure::write('Grouper.COmanage.grouperStemDelineatorReplacement', '_');
Modified: registry/trunk/app/Plugin/Grouper/Lib/GrouperRestClient.php
===================================================================
--- registry/trunk/app/Plugin/Grouper/Lib/GrouperRestClient.php 2013-04-20
13:12:48 UTC (rev 505)
+++ registry/trunk/app/Plugin/Grouper/Lib/GrouperRestClient.php 2013-04-22
13:21:40 UTC (rev 506)
@@ -45,7 +45,8 @@
function __construct($config = array(), $autoConnect = false) {
parent::__construct($config, $autoConnect);
- $this->httpSocket = new HttpSocket();
+ $this->sslVerifyPeer = Configure::read('Grouper.sslVerifyPeer');
+ $this->httpSocket = new HttpSocket(array('ssl_verify_peer' =>
$this->sslVerifyPeer));
$this->defaultRequest = array(
'method' => 'POST',
'uri' => array(
- [comanage-dev] r506 - in registry/trunk/app/Plugin/Grouper: Config Lib, svnlog, 04/22/2013
Archive powered by MHonArc 2.6.16.