Author: dumindu
Date: Fri Dec  7 02:51:08 2007
New Revision: 10692

Log:

Fixed the claim parameters to match the changes done in the module



Modified:
   trunk/solutions/identity/modules/samples/php-sample/getcard.php

Modified: trunk/solutions/identity/modules/samples/php-sample/getcard.php
==============================================================================
--- trunk/solutions/identity/modules/samples/php-sample/getcard.php     
(original)
+++ trunk/solutions/identity/modules/samples/php-sample/getcard.php     Fri Dec 
 7 02:51:08 2007
@@ -1,11 +1,10 @@
 <?php
 session_start();
-$_SESSION['given_name']=$_SERVER["cardspace_givenname"];
-$_SESSION['surname']=$_SERVER["cardspace_surname"];
-$_SESSION['ppi']=$_SERVER["cardspace_privatepersonalidentifier"];
-$_SESSION['email']=$_SERVER["cardspace_emailaddress"];
-$_SESSION['ldapid']=$_SERVER["cardspace_ldapid"];
-$_SESSION['vstate']=$_SERVER["cardspace_verifier_state"];
+$_SESSION['given_name']=$_SERVER["cardspace_http://schemas_xmlsoap_org/ws/2005/05/identity/claims/givenname";];
+$_SESSION['surname']=$_SERVER["cardspace_http://schemas_xmlsoap_org/ws/2005/05/identity/claims/surname";];
+$_SESSION['ppi']=$_SERVER["cardspace_http://schemas_xmlsoap_org/ws/2005/05/identity/claims/privatepersonalidentifier";];
+$_SESSION['email']=$_SERVER["cardspace_http://schemas_xmlsoap_org/ws/2005/05/identity/claims/emailaddress";];
+$_SESSION['vstate']=$_SERVER["cardspace_auth_state"];
 ?>
 <html>
     <head>

_______________________________________________
Identity-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/identity-dev

Reply via email to