From e6167ff2f2ef7d3f895e7364d91bbafde2838e63 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no>
Date: Thu, 17 Jan 2008 19:31:51 +0000
Subject: [PATCH] Typo NameIDFormat versus NameIDformat. Thanks to James
 Hartford

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@174 44740490-163a-0410-bde0-09ae8108e29a
---
 lib/SimpleSAML/XML/SAML20/AuthnRequest.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/SimpleSAML/XML/SAML20/AuthnRequest.php b/lib/SimpleSAML/XML/SAML20/AuthnRequest.php
index cba1a2e20..0fc2c819f 100644
--- a/lib/SimpleSAML/XML/SAML20/AuthnRequest.php
+++ b/lib/SimpleSAML/XML/SAML20/AuthnRequest.php
@@ -143,9 +143,9 @@ class SimpleSAML_XML_SAML20_AuthnRequest {
 		
 		
 		$spNameQualifier = $md['spNameQualifier'];
-		$nameidformat = isset($md['NameIDformat']) ? 
-			$md['NameIDformat'] : 
-			'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent';
+		$nameidformat = isset($md['NameIDFormat']) ? 
+			$md['NameIDFormat'] : 
+			'urn:oasis:names:tc:SAML:2.0:nameid-format:transient';
 		
 		$authnRequest = "<samlp:AuthnRequest  " .
 		  "xmlns:samlp=\"urn:oasis:names:tc:SAML:2.0:protocol\"\n" .
-- 
GitLab