2008-10-01ãã1ã¶æéã®è¨äºä¸è¦§
S2JDBCãä½ãããã£ã¦ @GeneratedValue ã¢ããã¼ã·ã§ã³ãããã«ã¤ãã¾ããDB ãä½ã§ãããã¨ãEntity ã¯ã©ã¹ã§ã¯ããããå®ç¾©ãã¦ããã° OK ã¿ãããªãã®ã§ãç§ã¯ããã ãã®ããã« S2JDBC ã£ã¦ãããªã£ã¦æã£ã¦ããã§ãã ã¨ãããã§ãããS2JDBC ã¯ã¦ãããâ¦
ä¸éå端ã«åªç§ãªããã°ã©ãããæ£ããããã°ã©ãã³ã°ãã¯ããã¯ãã ã¨å¦ä¿¡ããã¡ãªï¼ã¤ãã¤ã³ã - åè£åéãååå ´ by ãµããã ããã¤ã³ã¹ãã¤ã¢ãããè¨äºã§ãã 誰ãã®è¨ããã¨ãèã ã¨ããã¨èªå¼ãããããããã¾ããããããã°ã©ãã³ã°ã¯èª°ãã®è©±ãâ¦
OpenID ããªãã¼ãç°¡åã«æ±ãã©ã¤ãã©ãªãä½æããï¼ããã¦å°å³ã«ãã¼ã¸ã§ã³ã¢ããããã¦ããï¼ããã§ããããµã³ãã«ã® Cubby ã®ã¢ã¯ã·ã§ã³ã¯ã©ã¹ã« openid_identifier ã¨ããæ°æã¡æªãååã®ãã£ã¼ã«ãããã£ãã®ã«ãæ°ã¥ãã§ããããï¼ æ®éã®ï¼Sun ã®ï¼â¦
ä» OpenID4Java ã®ã½ã¼ã¹ãèªãã§ãã¾ããOpenID ã®ä»æ§æ¸ï¼ http://openid.net/specs/openid-authentication-2_0.html ï¼ã¯ã¯ã£ããè¨ã£ã¦ãããã¥ããããããå®è£ ãããªããããããªãã¨æããªããèªãã§ããã§ããã ã§ãã§ããããã®ã½ã¼ã¹æ¸ãã人ãjaâ¦
ã¢ã½ã·ã¨ã¼ã·ã§ã³ç¢ºç«ã®ã¨ãã«ãYahoo! JAPAN ã¯ãassoc_type ã HMAC-SHA1 ã§ãªãã¨ãã¡ã¿ãããªã®ã§ãããassoc_type ã¯ä»æ§ä¸ãHMAC-SHA1 ã HMAC-SHA256 ã®ã©ã¡ãããªãã§ããã©ãã ããã§ãRP ã®ã»ããã assoc_type 㯠HMAC-SHA256 ã§ããã¾ãããã¨â¦
ã¨ãããã¨ã§ãè¶ ç°¡åã«ãã¨ãããè¶ ä¹±æ´ã« OpenID ãæ±ãã©ã¤ãã©ãªãä½ãã¾ãããæ±ãã¨ãã£ã¦ãèªè¨¼ããã»ããããªãã¦ãèªè¨¼ãå§è²ããã»ãã§ããå é¨ã§ OpenID4Java ã使ã£ã¦ãã¾ããOpenID4Java ã¯ãªãã Yahoo! ã§èªè¨¼ãããã¨ããã¨ä¸ç©ãªãã°ãã¯ãâ¦
ä»æ¥ã¯ããã¤ã«ãå¢ãã¦ãã¾ãå½¹ã«ç«ã¤è©±ã§ã¯ãªãã§ãã ãã®ããã°ã§ã¯ãä½åº¦ããã¨ã³ã¸ãã¢ããã©ããããæè¡è ããã©ãããã¨ãã話ããã¦ãã¾ãã ITé¢é£ã®ç¾å ´ã«ãã¨ã³ã¸ãã¢ããªãã¦ããããããªãã§ãã - ã¤ã㦠ã¢ã¹ã« blog ã·ã¹ãã éçºããªããâ¦
ç§ã¯ã決ãã¦ã¾ããªã»ããããªããã§ããããããã¼ããã§ããããã¨ã³ã¼ãã£ã³ã°çã«ããã¦ã¯ç¥çµè³ªãªãã§ããã ãã¨ãã°ãã¤ã³ã¹ã¿ã³ã¹åãããã¨ããªãã¦ã¼ãã£ãªãã£ã¯ã©ã¹ HogeUtils ãä½ãã¨ãã¾ããããããã¨ã以ä¸ã®ããã«ã³ã³ã¹ãã©ã¯ã¿ã¯ãã©ã¤â¦
ã¨ã³ã¸ãã¢ãã¨ã³ã¸ãã¢ã説å¾ãããªãã ããè¯ãã³ã¼ããè¦ããã»ããæ©ãã¨æããã ãã©ããã 確ãã«ããæãã¾ããã§ããã§ãããããªããã§ããããã®ãã¨ã³ã¸ãã¢ããã ã¨ã³ã¸ãã¢ã¨ã³ã¼ããæ··åãã¦ãªããã¨ãããããªã³ã¡ã³ããã¤ãã¦ãã¾ããããâ¦
大è¦æ¨¡ããã¸ã§ã¯ããæåãããããã«ãã¾ãã¾ãªæ¹çãç¨ããã®ãçµæ§ã§ããããããããç§ããã¾ã«æ°ã«ãªãã®ããç¨èªãã®æ£ç¢ºæ§ã§ãã ããã¸ã§ã¯ããã§ãããªã£ã¦ãã¾ãã¨ããã¾ãã¾ãªãã¨ããã¡ãã¡èª¬æãã¦ãããªããªã£ã¦ãã¾ãã®ã§ãç¨èªã«å¯¾ãããæ¹â¦
æ¸ããªãã£ã¦ã®ã¯ããªãã¨ãããããµã¤ãããã¯æ¸ããªãã ããã¨ãããããªæ¸ãæ¹ãããã£ã¦ããã®ãå«ãã¦ãæ¸ããªããã ãããããããæ¸ãæ¹ã¯ãããªããªãããµã¤ããã£ã¦ãªãã ãã£ã¦è¨ããã¡ããã â¦â¦ãã¼ãããªãã¦ãã£ããããããªã ãï¼ ããã ãtâ¦
ç§ãã Seasar ãã¡ã³ã®ç§ã¯ id:higayasuo æ°ã®ããã°ããã¤ãèªã¾ãã¦ããã ãã¦ããã¾ãããã©ããã¦ãæ°ãããæå±ï¼ã£ã¦ã»ã©ã§ããªããï¼ãã public ãã£ã¼ã«ãã ãã¯åãå ¥ããããªãã®ã§ãã stterãgetter ãç ©ãããã¨ããæ°æã¡ã¯ãããã¾ããã¨ãâ¦