Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
    Bookmark Topic Watch Topic
  • New Topic

http post

 
Hemal Mahagederawatte
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi everybody,

I want to send username and password to www.myopenid.com and get authenticated response.
The authentication page is at https://www.myopenid.com/signin_password which has the following form



So i wrote the following code



But i don't get authenticated. ( The return is the html page https://www.myopenid.com/ with link to sign in and not the page you get if you had sign in).

Can anybody help me please.
Thanks in advanced.
 
Paul Clapham
Sheriff
Posts: 21322
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Report post to moderator
That was your real user ID and password you posted there, wasn't it? It's a really bad idea to post your password on a public forum. I edited it out of your post for you.

As for your question, why are you trying to have your program connect and authenticate to MyOpenID? What do you hope to achieve once you have done that?
 
Hemal Mahagederawatte
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Report post to moderator
Ops.. I forgot to edit it. Thank you.

Well my requirement is like this,

create a java class which can send openid and the password off the user along with a authnRequest message and this java class must get the authnResponse message (which has the openid token) from the openid provider in return. Then this token is wrapped and send to a STS.
 
Rob Spoor
Sheriff
Pie
Posts: 20608
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please UseOneThreadPerQuestion. This is the same problem as this one. Closing this thread.
 
    Bookmark Topic Watch Topic
  • New Topic