资源描述:
《计算机专业外文翻译--面向 java web 应用程序》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、设计巴巴工作室www.88doc88.comOpenIDforJavaWebapplications,Part1:EnableyourJavaWebapplicationstouseOpenIDauthenticationJ.StevenPerryisanindependentsoftwaredevelopmentconsultantandhasbeendevelopingsoftwareprofessionallysince1991.Stevehasapassionforsoftwaredevelopment,andenjoyswritingaboutsoftware
2、developmentandmentoringotherdevelopers.HeistheauthorofJavaManagementExtensions(O'Reilly)andLog4j(O'Reilly),andJoda-Time(whichhewroteforIBMdeveloperWorks).Inhissparetimehehangsoutwithhisthreekids,rideshisbike,andteachesyoga.SteveistheownerandprincipalconsultantforMakotoConsultingGroup,loc
3、atedinLittleRock,Arkansas.Summary: OpenIDisadecentralizedauthenticationprotocolthatmakesiteasierforuserstoaccessresourcesinyourJava™Webapplications.Inthisfirsthalfofatwo-partarticle,you'lllearnabouttheOpenIDAuthenticationSpecificationandwalkthroughthestepsofincorporatingitintoasampleJava
4、application.RatherthanimplementtheOpenIDAuthenticationspecificationbyhand,authorJ.StevenPerryusestheopenid4javalibraryandapopularOpenIDprovider,myOpenID,tocreateasafeandreliableregistrationprocessforaJavaapplicationwritteninWicket.Tagsforthisarticle: authentication,java,openid,openid4jav
5、a,sign-on,single,steve_perry,websOpenIDisadecentralizedauthenticationmechanism.UsingOpenID,IcanproveIownaURIsuchashttp://openid.jstevenperry.com/steve,andIcanusethatidentitytoauthenticatemyselfwithanysitethatsupportsOpenID—suchasGoogle,Slashdot,orWordpress.Clearly,OpenIDisgreatforenduser
6、s.Butusingitgotmetothinking:"WhataboutusingOpenIDtocreateastandard,reliableauthenticationsystemfortheJava-basedWebapplicationsIwriteformycustomers?"Inthistwo-partarticleIwillshowyouhowtousetheopenid4javalibraryandawell-knownOpenIDprovider,myOpenID,tocreateanauthenticationsystemforaJava-b
7、asedWebapplication.I'llalsoshowyouhowtoreceiveuserinformationwithanOpenIDSimpleRegistrationExtension(SReg).I'llstartbyexplainingwhatOpenIDisandshowingyouhowtogetanOpenIDofyourown.Next,IwillpresentabriefoverviewofhowOpenIDauthenticationworks.Finally,Iwillwalkthroughthestep