OAuthãOpenIDãä»çµã¿ãããç¥ããã«ä½¿ã£ã¦ããåãããã®ææ°ååã«è¿½ãã¤ãããã«åå¼·ãããã¨ãã¾ã¨ãã¾ãã ãã£ãã㯠OpenID TechNight #7 ãUstã§è¦ããã¨ã§ãããããªããã¨ãå±±çãã ã£ãã®ã§è²ã ã¨èª¿ã¹ã¦ã¿ãã OpenID TechNight #7 : ATND åçºè¡¨ã®ã¹ã©ã¤ãã¸ã®ãªã³ã¯ããããã ãã¼ã¯ã¼ãã¨ãã¦ã¯ãOAuth 2.0ãOpenID ConnectãCloud IdentityãRESTful APIãã¨ãã£ããããã«ã¤ãã¦ãããããåºæ¬çãªãã¨ã¨ãUstã§è©±ããã¦ããã¨ãã¾ã¨ããã OAuth 2.0 OAuth 2.0ã§Webãµã¼ãã¹ã®å©ç¨æ¹æ³ã¯ã©ãå¤ãããï¼1/3ï¼- ï¼ IT ãå ã«èªãã°ããã£ãã ç°¡åã«ã¾ã¨ããã¨ãOAuth 1.0ã®åé¡ç¹ã¯3ã¤ãã£ã¦ã èªè¨¼ã¨ç½²åã®ããã»ã¹ãè¤é Webã¢ããªã±ã¼ã·ã§ã³ä»¥å¤ã®å©ç¨ãèæ ®ããã¦
App Engine 1.3.4ã§OpenIDèªè¨¼ã«å¯¾å¿ãã¾ããã調ã¹ã¦ã¿ãã¨æå¤ã¨æ®éã«ã·ã³ã°ã«ãµã¤ã³ãªã³ã§ããã®ã§ã使ãæ¹ã¨ä»çµã¿ã説æãã¾ãã ã¾ããOpenIDèªè¨¼ãè¦æ±ããURLãã¿ã¼ã³ãweb.xmlã«æ¸ãã¾ãã <security-constraint> <web-resource-collection> <web-resource-name>Authentication required url</web-resource-name> <url-pattern>/user/*</url-pattern> </web-resource-collection> <auth-constraint> <role-name>*</role-name> </auth-constraint> </security-constraint> ä¾ãã° http://xxx.appspot.co
ããã«ã¡ã¯ãlivedoor AuthãOpenIDãEDGEãæ å½ãã¦ããæ«äºã§ãã çããã¯OpenIDã¨ãããã®ããåãã§ããï¼ä»åã¯10åã§ãããOpenIDã®å¨è¾ºæ å ±ãã¾ã¨ãã¦ã¿ããã¨æãã¾ãã OpenIDã¨ã¯ãï¼ã¤ã®IDã§è²ã ãªãµã¤ãã«ãã°ã¤ã³ã§ããä»çµã¿ã®ãã¨ã§ã対å¿ãµã¤ãã«å¯¾ããã¦ã¼ã¶ã¼ã®èªè¨¼IDã¨ãã¦URLã¾ãã¯XRIã使ç¨ãããã¨ãåºæ¥ãåæ£åã®èªè¨¼ã·ã¹ãã ãæãã¾ããæè¿ã§ã¯OpenIDãçºè¡ãã¦ãããµã¤ãããOpenIDã§ã®ãã°ã¤ã³ã«å¯¾å¿ãã¦ãããµã¤ããå¢ãã¦ãã¦ãã¾ããèªè¨¼ã®é·ç§»ã¤ã¡ã¼ã¸ã¨ãã¦ã¯livedoor Authã®å³ãåèã«ãªããã¨æãã¾ãã â ç¨èª ã»OP OpenID Provider (ãªã¼ãã³ID ãããã¤ã)ã®ç¥ã§ãOpenIDã¨ãã¦å©ç¨ã§ããIDãçºè¡ãã¦ãããµã¤ãããµã¼ãã¹ãæãã¾ããOPãçºè¡ãã¦ããOpenIDã®æ°ã¯æ°åä¸ã¨ãæ°åã¨ãã
æãå®ãå¼è¶ãæ¥è ãæ¢ãæ¹æ³ã¯ç°¡åã§ãï¼ ããã¯ãå¼è¶ãæ¥è ã«ï¼ç¤¾ãã¤è¦ç©ãããåã£ã¦ããããæ¯è¼ãããã¨ã ãããã ï¼ç¤¾ï¼ç¤¾ãè¦ç©ãããä¾é ¼ããã®ã¯éå¹çã§ã æéãå´åãããã£ã¦ãã¾ãã¾ãã ããã§ããããããªã®ãã å¼è¶ãæ¥è ä¸æ¬è¦ç©ãããµã¼ãã¹ ãèªèº«ã®è·ç©éã¨ä½æãå¼è¶ãææãªã©ã æ¦è¦ãä¸åº¦å ¥åããã ãã§ã è¤æ°ã®å¼è¶ãæ¥è ã«å¯¾ãã¦è¦ç©ãããä¾é ¼ãããã¨ãã§ãã¾ãï¼ ä¸åã®æéã§è¦ç©ãä¾é ¼ãå¯è½ãªã®ã§ã å´åãããããªããæçï¼ãå½¹ç«ã¡ãµã¤ãã使ã£ã¦ã è³¢ãå¼è¶ãæ¥è ãæ¯è¼ãã¾ãããã ããã«ãå¼è¶ãæ¥è ä¸æ¬è¦ç©ãããµã¼ãã¹ã ã¨ã æéãæ¯è¼ããããã¨ãããã¨ãå¼ã£è¶ãæ¥è ãåãã£ã¦ããã®ã§ã é常ã®è¦ç©ãããããå®ãæ示ãã¦ããããã¨ãå¤ãã§ãã å®ãå¼ã£è¶ããããªããå¼è¶ãæ¥è ä¸æ¬è¦ç©ãããµã¼ãã¹ããã«æ´»ç¨ãã¾ãããã å¼è¶ãæ¥è ä¸æ¬è¦ç©ãããµã¼ãã¹ããããï¼ç¤¾ ãµã¤ãã«
é«æ¨å çã®å¤§ä½ã§ããæ¥æ¬ã®ã¤ã³ã¿ã¼ããããçµäºããæ¥ãåãã¦ãåã®æ¥è¨ã®ã³ã¡ã³ãæ¬ã«ã¦id:futureeyeãããã質åãæ¥ã¦ããã®ã§ãå人çãªè¦è§£ã¨ãã¦ã®åçããããã¨æãã¾ãã åå¯ãã®åé¡ ï½ããµã¤ãã§ä½ææ°åï¼¥ã¡ã¼ã«ã¢ãã¬ã¹çã®å人ç¹å®æ å ±ãå ¥åãããã¨ã«ãã£ã¦ããã®å人ç¹å®æ å ±ã¨å¥ç´è åºæIDï¼ï½ã¢ã¼ãIDçï¼ã¨ãç´ä»ãããããããä¸ã§ã®è¡åå±¥æ´æ å ±ãå¥ç´è åºæIDãææããã«åéããï¼åå¯ãããï¼ããã®åéæ å ±ã¨å人ã¨ãçµã³ä»ããããã ããããåæã¨ãã¦æºå¸¯ãã£ãªã¢ã確èªç¡ãå¥ç´è åºæIDãä»»æã®ãµã¼ãã¹ã«å¯¾ãã¦å ¬éããã¨ããè¡çºã¨ãOpenIDã®ããã«ã¦ã¼ã¶ã®åæã®ä¸ã« Relying Party ( OpenID èªè¨¼ãæä¾ããããµã¼ãã¹ ) ã«å¯¾ãã¦å ¬éããã®ã§ã¯è©±ã®ã¬ãã«ãå ¨ç¶éãã¾ãã ã¨ã¯è¨ãåå¯ãã¨è¨ãç¹ã§ã¯ã¯ãã¼ã«ãã¦å ¬éããã¦ããå ¨ãã¼ã¸ãåéããã°ããç¨
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}