資源描述:
《計(jì)算機(jī)專業(yè)外文翻譯--面向 java web 應(yīng)用程序》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫。
1、設(shè)計(jì)巴巴工作室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