资源描述:
《计算机专业中英文翻译(外文翻译)》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、OpenIDforJavaWebapplications,Part1:EnableyourJavaWebapplicationstouseOpenIDauthenticationJStevenPerry,PrincipalConsultant,MakotoConsultingGroup,Inc.Summary:OpenIDisadecentralizedauthenticationprotocolthatmakesiteasierforuserstoaccessresourcesinyourJava™Webapplications.Inth
2、isfirsthalfofatwo-partarticle,you'lllearnabouttheOpenIDAuthenticationSpecificationandwalkthroughthestepsofincorporatingitintoasampleJavaapplication.RatherthanimplementtheOpenIDAuthenticationspecificationbyhand,authorJ.StevenPerryusestheopenid4javalibraryandapopularOpenIDpr
3、ovider,myOpenID,tocreateasafeandreliableregistrationprocessforaJavaapplicationwritteninWicket.Tagsforthisarticle:authentication,java,openid,openid4java,sign-on,single,steve_perry,websOpenIDisadecentralizedauthenticationmechanism.UsingOpenID,IcanproveIownaURIsuchashttp://op
4、enid.jstevenperry.com/steve,andIcanusethatidentitytoauthenticatemyselfwithanysitethatsupportsOpenID—suchasGoogle,Slashdot,orWordpress.Clearly,OpenIDisgreatforendusers.Butusingitgotmetothinking:"WhataboutusingOpenIDtocreateastandard,reliableauthenticationsystemfortheJava-ba
5、sedWebapplicationsIwriteformycustomers?"Inthistwo-partarticleIwillshowyouhowtousetheopenid4javalibraryandawell-knownOpenIDprovider,myOpenID,tocreateanauthenticationsystemforaJava-basedWebapplication.I'llalsoshowyouhowtoreceiveuserinformationwithanOpenIDSimpleRegistrationEx
6、tension(SReg).I'llstartbyexplainingwhatOpenIDisandshowingyouhowtogetanOpenIDofyourown.Next,IwillpresentbriefoverviewofhowOpenIDauthenticationworks.Finally,Iwill1walkthroughthestepsinvolvedinperformingOpenIDauthenticationusingopenid4java.Inthesecondhalfofthisarticle,you'lll
7、earnhowtocreateyourownOpenIDprovider.ThroughoutthediscussionI'llbeworkingwithaWicket-basedJavaWebapplicationthatIwrotespecificallyforthisarticle.Youcandownloadthesourcecodefortheapplicationanytime.Youalsomightwanttotakealookattheopenid4javalibrary(seeResources).Note:Thisar
8、ticlefocusesonusingOpenIDforJavaWebapplications,butOpenIDworksinanysoftwarearchitecturals