Firstly, for those of you who are trying to figure out why Yahoo is giving you the
"Warning: This website has not confirmed its identity with Yahoo! and might be fraudulent. Do not share any personal information with this website unless you are certain it is legitimate."
I recommend having a look at the Yahoo OpenID FAQs
I also recommend the following articles:
Why Yahoo! says your OpenID site's identity is not confirmed
If you're using Openid4java from sxip, try this:
facileloging
If Yahoo is still giving you errors, consider their extra requirements:
Yahoo! will only support Relying Parties running on webservers with real hostnames (IP addresses are not supported) running on standard ports (Port 80 for HTTP and Port 443 for HTTPS).
This means localhost will not work and if it's running on say... port 8080, you'll need to figure out a way to forward from port 80 to port 8080
Your web app also needs to be available from the internet. You can test this by trying to access your website from another computer outside of your intranet.
So in the end: if your web address looks like http://localhost:8080/yourrealm/openid , it's not going to work. it needs to look similar to http://real.hostname.com/yourrealm/openid
If Yahoo is doing a discovery of your Yadis document on your REALM. ie. your index.html, make sure the header x-xrds-location is inserted into the head.
Again, if you're using Java Servlets and Apache Tomcat like I am, you'll need to do this using a Servlet Filter:
Instructions on Servlet Filter
Can't tell if it's in the header?
You can type curl -i http://your.website.com/yourrealm/ in your command prompt to check
Another note:
If you're getting:
org.openid4java.message.MessageException: 769: Realm verification
try going into the init method for your openid consumer Servlet
and adding in manager.getRealmVerifier().setEnforceRpId(false); after this.manager = new ConsumerManager();
A good website to go to make sure that an openID 2.0 Provider does work with openid4java is https://verify.sxip.com/papedemo/
41 comments:
閒來無聊逛逛blog~~跟您打聲招呼~~........................................
KK777一夜激情聊天live show成人自拍貼圖自慰少婦自拍裸體圖片台灣色情成人網站情人視訊網情色留言板視訊美女免費視訊聊天室限制級極度震撼情色論壇色情特區自拍裸女貼圖潮吹性影片觀賞小穴情色片a圖片sex story性愛影片美女做愛成人色情網站性愛圖片成人情色貼圖全裸寫真集圖片走光圖女生陰毛自慰影片色情av1007成人色情聊天室女生自慰裸體照成人影音聊天台灣色情網站色情片打手槍情色天堂成人視訊聊天免費情色網站av網超性感辣妹激突成人論壇情色視訊聊天鹹濕成人網站av成人論壇免費美女視訊
幽默並不是諷刺,它或許帶有溫和的嘲諷,卻不傷人,它可能是以別人,也可以用自己為對象。 ..................................................
教育的目的不是在製造機械,而是在造成人. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
笑口常開~~天天開心........................................
人不可以求其備,必捨其所短,取其所長......................................................
逛到你的部落格,第一個感覺就很好,希望每次更新都是美好的開始,也祝你天天都都開心喔 ..................................................
被人揭下面具是一種失敗,自己揭下面具卻是種勝利。 ..................................................
青春一逝不復返,事業一失難有成。........................................
真正的愛心,是照顧好自己的這顆心。.............................................
日本性愛本土性愛圖性愛罐頭連結本土性愛自拍圖台灣本土性愛色情網站排行色情網站論壇色情網戰色情說小色情影片片色情影片免會員色情影片亞洲色情影片站色情熟女貼圖片色情線上短片色情學文色情?漫艾莉絲無名相簿色情免費試看自拍色片下載區色片免費線上看色片直撥色片直播999色片情色卡通影片免費看色色論壇色免費論壇色言情小說色妹妹免費影片蜜雪兒免費小說 色ˋ情小說 成人貼圖站69成人
不要把生命看得太嚴肅,反正我們不會活著離開。...............................................................
從人生中拿走友誼,猶如從生活中移走陽光..................................................
每一粒厄運的種子,卻包孕著未來豐盛的果實..............................
It takes all kinds to make a world.................................................................
希望我的支持可以帶給你快樂--加油.................................................................
Make yourself necessary to someone...................................................................
一個人的價值,應該看他貢獻了什麼,而不是他取得了什麼.................................................................
pleasure to find such a good artical! please keep update!!.................................................................
成熟,就是有能力適應生活中的模糊。.................................................................
It takes all kinds to make a world.............................................................
一時的錯誤不算什麼,錯而不改才是一生中永遠且最大的錯誤............................................................
天下沒有意把鑰匙,可以打開所有的門............................................................
你文章很棒的~繼續分享給大家~~~~..................................................................
逛BLOG逛上癮了,一天不來會不習慣了耶!!..................................................................
A stitch in time saves nine...................................................................
好多很有用資訊...感謝你的分享喔............................................................
「仁慈」二個字,就能讓冬天三個月都溫暖。..................................................
我們必須先有哭泣,才有歡笑;也必須先感到人生的悲哀,然後才感到人生的快樂。............................................................
Knowledge is a treasure, but practice is the key to it.................................................
良言一句三冬暖,惡語傷人六月寒。......................................................................
No one knows the weight of anothers burden. ..................................................
It is easier to get than to keep it.......................................................................
臨淵羨魚,不如退而結網。.......................................................
死亡是悲哀的,但活得不快樂更悲哀。............................................................
Nothing comes from nothing.............................................................
原來這世上能跟你共同領略一個笑話的人竟如此難得......................................................................
來看看你囉~blog很棒! ............................................................
我是天山,等待一輪明月。......................................................................
君子立恆志,小人恆立志。................. ................................................
從人生中拿走友誼,猶如從生活中移走陽光......................................................................
Post a Comment