[cpp-sp COMMIT] in /branches/REL_2: configs/example-shibboleth2.xml configs/shibboleth2.xml configs/win-shibboleth2.x...
noreply at shibboleth.net
noreply at shibboleth.net
Sun Jul 1 00:10:44 BST 2012
Author: scantor
Date: Sat Jun 30 19:10:44 2012
New Revision: 3720
URL: http://svn.shibboleth.net/view/cpp-sp?rev=3720&view=rev
Log:
https://issues.shibboleth.net/jira/browse/SSPCPP-471
Modified:
branches/REL_2/configs/example-shibboleth2.xml
branches/REL_2/configs/shibboleth2.xml
branches/REL_2/configs/win-shibboleth2.xml
branches/REL_2/shibsp/Application.cpp
branches/REL_2/shibsp/handler/impl/AssertionConsumerService.cpp
Modified: branches/REL_2/configs/example-shibboleth2.xml
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/configs/example-shibboleth2.xml?rev=3720&r1=3719&r2=3720&view=diff
==============================================================================
--- branches/REL_2/configs/example-shibboleth2.xml (original)
+++ branches/REL_2/configs/example-shibboleth2.xml Sat Jun 30 19:10:44 2012
@@ -102,12 +102,12 @@
You MUST supply an effectively unique handlerURL value for each of your applications.
The value defaults to /Shibboleth.sso, and should be a relative path, with the SP computing
a relative value based on the virtual host. Using handlerSSL="true", the default, will force
- the protocol to be https. You should also add a cookieProps setting of "; path=/; secure; HttpOnly"
- in that case. Note that while we default checkAddress to "false", this has a negative
- impact on the security of the SP. Stealing cookies/sessions is much easier with this disabled.
+ the protocol to be https. You should also set cookieProps to "https" for SSL-only sites.
+ Note that while we default checkAddress to "false", this has a negative impact on the
+ security of your site. Stealing sessions via cookie theft is much easier with this disabled.
-->
<Sessions lifetime="28800" timeout="3600" checkAddress="false"
- handlerURL="/Shibboleth.sso" handlerSSL="false" relayState="ss:mem"
+ handlerURL="/Shibboleth.sso" handlerSSL="false" cookieProps="http" relayState="ss:mem"
exportLocation="http://localhost/Shibboleth.sso/GetAssertion" exportACL="127.0.0.1"
idpHistory="false" idpHistoryDays="7">
@@ -125,7 +125,7 @@
<!-- Default directs to a specific IdP (favoring SAML 2 over Shib 1). -->
<SessionInitiator type="Chaining" Location="/Login" isDefault="true" id="Login"
- entityID="https://idp.example.org/shibboleth">
+ entityID="https://idp.example.org/idp/shibboleth">
<SessionInitiator type="SAML2" template="bindingTemplate.html"/>
<SessionInitiator type="Shib1"/>
Modified: branches/REL_2/configs/shibboleth2.xml
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/configs/shibboleth2.xml?rev=3720&r1=3719&r2=3720&view=diff
==============================================================================
--- branches/REL_2/configs/shibboleth2.xml (original)
+++ branches/REL_2/configs/shibboleth2.xml Sat Jun 30 19:10:44 2012
@@ -28,11 +28,12 @@
You MUST supply an effectively unique handlerURL value for each of your applications.
The value defaults to /Shibboleth.sso, and should be a relative path, with the SP computing
a relative value based on the virtual host. Using handlerSSL="true", the default, will force
- the protocol to be https. You should also add a cookieProps setting of "; path=/; secure; HttpOnly"
- in that case. Note that while we default checkAddress to "false", this has a negative
- impact on the security of the SP. Stealing cookies/sessions is much easier with this disabled.
+ the protocol to be https. You should also set cookieProps to "https" for SSL-only sites.
+ Note that while we default checkAddress to "false", this has a negative impact on the
+ security of your site. Stealing sessions via cookie theft is much easier with this disabled.
-->
- <Sessions lifetime="28800" timeout="3600" checkAddress="false" relayState="ss:mem" handlerSSL="false">
+ <Sessions lifetime="28800" timeout="3600" relayState="ss:mem"
+ checkAddress="false" handlerSSL="false" cookieProps="http">
<!--
Configures SSO for a default IdP. To allow for >1 IdP, remove
@@ -40,7 +41,7 @@
(Set discoveryProtocol to "WAYF" for legacy Shibboleth WAYF support.)
You can also override entityID on /Login query string, or in RequestMap/htaccess.
-->
- <SSO entityID="https://idp.example.org/shibboleth"
+ <SSO entityID="https://idp.example.org/idp/shibboleth"
discoveryProtocol="SAMLDS" discoveryURL="https://ds.example.org/DS/WAYF">
SAML2 SAML1
</SSO>
Modified: branches/REL_2/configs/win-shibboleth2.xml
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/configs/win-shibboleth2.xml?rev=3720&r1=3719&r2=3720&view=diff
==============================================================================
[... 125 lines stripped ...]
More information about the commits
mailing list