From df4a362b6f74cb015f313473a45db2f750cbe93d Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Fri, 2 Jul 2010 05:24:45 +0000
Subject: [PATCH] saml: Small fixes for saml:nameid documentation.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2376 44740490-163a-0410-bde0-09ae8108e29a
---
 docs/simplesamlphp-authproc.txt | 2 +-
 modules/saml/docs/nameid.txt    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/simplesamlphp-authproc.txt b/docs/simplesamlphp-authproc.txt
index 145bd996c..d8122894b 100644
--- a/docs/simplesamlphp-authproc.txt
+++ b/docs/simplesamlphp-authproc.txt
@@ -142,7 +142,7 @@ The following filters are included in the simpleSAMLphp distribution:
 - [`core:TargetedID`](./core:authproc_targetedid): Generate the `eduPersonTargetedID` attribute.
 - [`core:WarnShortSSOInterval`](./core:authproc_warnshortssointerval): Give a warning if the user logs into the same SP twice within a few seconds.
 - [`preprodwarning:Warning`](./preprodwarning:warning): Warn the user about accessing a test IdP.
-- [`saml:AttributeNameID`](./saml:nameid): Generate custon NameID with the value of an attribute.
+- [`saml:AttributeNameID`](./saml:nameid): Generate custom NameID with the value of an attribute.
 - [`saml:PersistentNameID`](./saml:nameid): Generate persistent NameID from an attribute.
 - [`saml:TransientNameID`](./saml:nameid): Generate transient NameID.
 
diff --git a/modules/saml/docs/nameid.txt b/modules/saml/docs/nameid.txt
index c1d0da4f8..1fa3c63ab 100644
--- a/modules/saml/docs/nameid.txt
+++ b/modules/saml/docs/nameid.txt
@@ -75,7 +75,7 @@ This example makes three NameIDs available:
         ),
         3 => array(
             'class' => 'saml:AttributeNameID',
-            'attribute' => 'eduPersonPrincipalName',
+            'attribute' => 'mail',
             'Format' => 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress',
         ),
     ),
-- 
GitLab