Author: prabath
Date: Tue Dec 18 00:08:49 2007
New Revision: 11337
Log:
OpenID token modified
Modified:
branches/solutions/identity/openid-poc/modules/identity-provider/src/main/java/org/wso2/solutions/identity/sts/OpenIdTokenIssuer.java
Modified:
branches/solutions/identity/openid-poc/modules/identity-provider/src/main/java/org/wso2/solutions/identity/sts/OpenIdTokenIssuer.java
==============================================================================
---
branches/solutions/identity/openid-poc/modules/identity-provider/src/main/java/org/wso2/solutions/identity/sts/OpenIdTokenIssuer.java
(original)
+++
branches/solutions/identity/openid-poc/modules/identity-provider/src/main/java/org/wso2/solutions/identity/sts/OpenIdTokenIssuer.java
Tue Dec 18 00:08:49 2007
@@ -110,19 +110,25 @@
String text = null;
// TODO: need to build the OpenID Token
- text = "openid.ns:http://specs.openid.net/auth/2.0 \n";
- text += "openid.op_endpoint:https://openidcards.sxip.com/op/ \n";
- text += "openid.claimed_id:https://openidcards.sxip.com/i/prabath v";
- text += "openid.response_nonce:2007-12-14T09:25:50Z0 \n";
- text += "openid.mode:id_res \n";
- text += "openid.identity:https://openidcards.sxip.com/i/prabath \n";
- text += "openid.return_to:https://openidcards.sxip.com/demorp/";
- text += "openid.assoc_handle:e242741d76b42a6 \n";
- text +=
"openid.signed:op_endpoint,claimed_id,identity,return_to,response_nonce,assoc_handle
\n";
- text += "openid.sig:ug3AMXHi6fnBDNk1ey0TyP+GI5o= \n";
- text += "openid.ns.ext1:http://openid.net/srv/ax/1.0-draft4 \n";
- text += "openid.ext1.mode:fetch_response";
-
+ text = "openid.ns:http://specs.openid.net/auth/2.0\n";
+ text += "openid.op_endpoint:https://openidcards.sxip.com/op/\n";
+ text += "openid.claimed_id:http://localhost:12080/user/prabath\n";
+ text += "openid.response_nonce:2007-12-14T09:25:50Z0\n";
+ text += "openid.mode:id_res\n";
+ text += "openid.identity:http://localhost:12080/user/prabath\n";
+ text += "openid.return_to:https://openidcards.sxip.com/demorp/\n";
+ text += "openid.assoc_handle:e242741d76b42a6\n";
+ text +=
"openid.signed:op_endpoint,claimed_id,identity,return_to,response_nonce,assoc_handle\n";
+ text += "openid.sig:ug3AMXHi6fnBDNk1ey0TyP+GI5o=\n";
+ text += "openid.ns.ext1:http://openid.net/srv/ax/1.0\n";
+ text += "openid.ext1.mode:fetch_response\n";
+ text +=
"openid.ext1.type.FullName:http://axschema.org/namePerson/fullname\n";
+ text += "openid.ext1.value.FullName:Siriwardena\n";
+ text +=
"openid.ext1.type.NickName:http://axschema.org/namePerson/nickname\n";
+ text += "openid.ext1.value.NickName:prabath\n";
+ text +=
"openid.ext1.type.Email:http://axschema.org/contact/email\n";
+ text += "openid.ext1.value.Email:[EMAIL PROTECTED]";
+
rdt.setText(text);
return rdt;
_______________________________________________
Identity-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/identity-dev