»ùÓÚJava 2ÔËÐÐʱ°²È«Ä£Ð͵ÄÏß³ÌÐ×÷ - ±à³ÌÈëÃÅÍø
ʾÀý ÎÒÃǵÄʾÀýºÜ¼òµ¥£º¿Í»§¶Ëµ÷Óà LogService ÌṩµÄ API£¬°Ñ Message дÈëµ½´ÅÅÌÎļþ¡£ Çåµ¥ 1. ¿Í»§¶Ë³ÌÐò
Çåµ¥ 2. LogService
»ùÓÚJava 2ÔËÐÐʱ°²È«Ä£Ð͵ÄÏß³ÌÐ×÷(3)ʱ¼ä:2009-11-09 IBM ÀîÈýºìÈçÇåµ¥ 1¡¢2 Ëùʾ£¬Õâ¾ÍÊÇÒ»¸öÆÕͨµÄ Java Ó¦ÓóÌÐò¡£ÎÒÃÇ°ÑÕâ¸ö³ÌÐò·ÅÔÚ Java µÄ°²È«Ä£ÐÍÖÐÖ´ÐС£Client Àà·ÅÔÚ client.jar JAR °üÀ¶ø LogService Àà·ÅÔÚ server.jar JAR °üÀï Ê×ÏÈÎÒÃÇʹÓà keytool ¹¤¾ßÀ´Éú³ÉÎÒÃÇÐèÒªµÄ keystore Îļþ£¬ÒÔ¼°ÐèÒªµÄÊý×ÖÖ¤Ê飬ÈçÇåµ¥ 3 Ëùʾ¡£ Çåµ¥ 3. Éú³É keystore Îļþ¼°ÆäÊý×ÖÖ¤Êé
ÔÚÇåµ¥ 3 ÖУ¬ÎÒÃÇÉú³ÉÁË C:\paper\.keystore Îļþ£¬Ê¹Óà RSA Ëã·¨Éú³ÉÁ˱ðÃûΪ client Óë server µÄÁ½¸öÊý×ÖÖ¤Êé¡££¨×¢ : Ϊ·½±ãÆð¼û£¬keystore Óë client£¬server Ö¤ÊéµÄÃÜÔ¿¶¼ÊÇ 111111£© ÎÒÃÇʹÓÃÈçÇåµ¥ 4 ËùʾµÄÃüÁîÀ´Ç©Ãû client.jar Óë server.jar¡£ Çåµ¥ 4. Ç©Ãû JAR Îļþ
ÔÚÇåµ¥ 4 ÖУ¬ÎÒÃÇʹÓÃÁ˱ðÃûΪ client µÄÊý×ÖÖ¤ÊéÀ´Ç©Ãû client.jar Îļþ£¬Ê¹ÓñðÃûΪ server µÄÊý×ÖÖ¤ÊéÀ´Ç©Ãû server.jar Îļþ¡£ ʹÓÃͼÐλ¯µÄ¹¤¾ß policytool.exe ´´½¨Çåµ¥ 5 ËùʾµÄ Policy Îļþ¡£ Çåµ¥ 5. Policy Îļþ
Policy ÎļþÖ¸³ö£¬ËùÓб»”client”Ç©ÃûµÄ´úÂë¾ßÓжÁд” c:\\paper\\client\\”Ŀ¼ÏÂËùÓÐÎļþµÄȨÏÞ£¬¶øËùÓб»”server”Ç©ÃûµÄ´úÂë¾ßÓÐËùÓеÄȨÏÞ¡£Java ½«¸ù¾Ý¸Ã²ßÂÔÎļþ°´ÕÕÇ©ÃûÕß´´½¨ÏàÓ¦µÄ±£»¤Óò¡£ Ò»ÇоÍÐ÷£¬ÎÒÃÇÔËÐдúÂ룬ÈçÇåµ¥ |
ÁèÖڿƼ¼×¨ÒµÌṩ·þÎñÆ÷×âÓᢷþÎñÆ÷Íйܡ¢ÆóÒµÓʾ֡¢ÐéÄâÖ÷»úµÈ·þÎñ£¬¹«Ë¾ÍøÕ¾£ºhttp://www.lingzhong.cn ΪÁ˸ø¹ã´ó¿Í»§Á˽â¸ü¶àµÄ¼¼ÊõÐÅÏ¢£¬±¾¼¼ÊõÎÄÕÂÊÕ¼¯À´Ô´ÓÚÍøÂç,ÁèÖڿƼ¼×ðÖØÎÄÕÂ×÷ÕߵİæȨ£¬Èç¹ûÓÐÉæ¼°ÄãµÄ°æȨÓбØҪɾ³ýÄãµÄÎÄÕ£¬ÇëºÍÎÒÃÇÁªÏµ¡£ÒÔÉÏÐÅÏ¢ÓëÎÄÕÂÕýÎÄÊDz»¿É·Ö¸îµÄÒ»²¿·Ö,Èç¹ûÄúҪתÔر¾ÎÄÕÂ,Çë±£ÁôÒÔÉÏÐÅÏ¢£¬Ð»Ð»! |
-
HTTP/1.1 401 Access Denied