Skip to content
Snippets Groups Projects
Commit 0e233cac authored by Hans Zandbelt's avatar Hans Zandbelt
Browse files

fix wrong default value for forceauthn setting

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@250 44740490-163a-0410-bde0-09ae8108e29a
parent 5e52d6b8
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ require_once('SimpleSAML/Metadata/MetaDataStorageHandler.php'); ...@@ -7,7 +7,7 @@ require_once('SimpleSAML/Metadata/MetaDataStorageHandler.php');
* The Shibboleth 1.3 Authentication Request. Not part of SAML 1.1, * The Shibboleth 1.3 Authentication Request. Not part of SAML 1.1,
* but an extension using query paramters no XML. * but an extension using query paramters no XML.
* *
* @author Andreas kre Solberg, UNINETT AS. <andreas.solberg@uninett.no> * @author Andreas kre Solberg, UNINETT AS. <andreas.solberg@uninett.no>
* @package simpleSAMLphp * @package simpleSAMLphp
* @version $Id$ * @version $Id$
*/ */
...@@ -117,7 +117,7 @@ class SimpleSAML_XML_SAML20_AuthnRequest { ...@@ -117,7 +117,7 @@ class SimpleSAML_XML_SAML20_AuthnRequest {
$nameidformat = isset($md['NameIDFormat']) ? $md['NameIDFormat'] : 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient'; $nameidformat = isset($md['NameIDFormat']) ? $md['NameIDFormat'] : 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient';
$forceauthn = isset($md['ForceAuthn']) ? $md['ForceAuthn'] : 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient'; $forceauthn = isset($md['ForceAuthn']) ? $md['ForceAuthn'] : 'false';
// TODO: Make an option in the metadata to allow adding a RequestedAuthnContext // TODO: Make an option in the metadata to allow adding a RequestedAuthnContext
$requestauthncontext = '<samlp:RequestedAuthnContext Comparison="exact"> $requestauthncontext = '<samlp:RequestedAuthnContext Comparison="exact">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment