Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

´«ÖDz¥¿ÍJAVAÅàѵ20100524SPRING SECURITY


´«ÖDz¥¿ÍJAVAÅàѵ20100524SPRING SECURITY
ÕâÁ½Ìì·´·´¸´¸´µÄ¿´ÁËÙ¡¸ÕÀÏʦµÄ½ÌÓý°ì¹«¹ÜÀíϵͳµÄÏîÄ¿ÊÓƵ£¬ÕæÊǸоõµ½¸ÃÀÏʦÕæÊÇÇ¿´ó£¬½²µÄÏîÄ¿·Ç³£Óм¼Êõº¬Á¿£¬ËäÈ»µ½ÏÖÔÚÎÒ¶¼»¹ÊÇ°ëÖª°ë½â£¬µ«ÊǶÔÓÚÒÔºóµÄ·¢Õ¹£¬ÎÒÒ²Ò»Ïë·Ç³£ÓÐÓã¬ÒòΪÕâô¸´Ï°µÄÔ´´úÂ룬Èç¹û»»×ÅÒ»¸öÐÂÈËÀ´µÄ»°£¬²»ÖªµÀÒª¶à¾Ã²ÅÄܳÔ͸Ŷ£¡ÎÒÖ®ËùÒÔÓÐÕâÑùÉî¿ÌµÄ¸ÐÊܵÄÔ­Òò£¬ÊÇÒòΪÒÔÇ°ÎÒÔÚ¹«Ë¾µÄʱºòÒ²ÊÇÓõÄspring security×öµÄȨÏÞ¿ØÖÆ£¬ÄǸöʱºòÎÒ¿´Á˺öàÌ죬»¹ÊÇÒ»ÎÞËùÖª£¬Ö»¹Ö×Ô¼ºÖ»ÊǶ¡µãË®£¬¿´²»¶®Ò²ºÜÕý³££¬Åå·þ£¡ÕâÒ²ÊÇÎÒ½ø´«ÖÇÒԺ󣬸ÐÊÜ×îÉî¿ÌµÄÒ»Ì죬ÕÛ·þÁË¡£
µ«ÊÇ£¬²»ÖªµÀ×Ô¼ºÒªÔõô³ÉΪÕâÑùµÄˮƽÄØ£¿Ôõôȥ¿´Ô´´úÂë²ÅÊÇ×îÓÐЧµÄµÄÄØ£¿Ò²³ÉΪÁËÏÖÔÚÎÒµÄĿ¼£¬¼È±ãÊÇÏÖÔÚ£¬ÎÒ¶ÔÕâ¸ö¿ò¼ÜÉæ¼°µ½µÄ³ÌÐò»¹ÊǷdz£Ð¡µÄ£¬ÒòΪ×ÔÒÑÏÖÔÚµÄˮƽÕæµÄ»¹ÊÇÌ«²ËÁË£¬ÆñÄÜÓëËûÃÇÕâÖÖÈËÀ´×ö±È½ÏŶ£¬µ«Êǹ¤×÷ÁË£¬¿ÉûÓÐÈËÀ´¸øÄãÈÃÕâÑùµÄ¿Î£¬¹¤×÷Ö®ºó£¬ÊÇÄã×Ô¼ºÈ¥ÃþË÷£¬×Ô¼ºÈ¥Àí½âÆäÖеÄ֪ʶ£¬Ë­¶¼°ïÖú²»ÁËÄ㣬ËùÒÔûÓа취£¡“ûÓÐÀ§ÄÑ£¬Ò²Òª´´ÔìÀ§ÄÑ£¬Ó­ÄѶøÉÏ”£¬ÕâÑù²Å¶Ô×Ô¼ºµÄÌáÉýÓкô¦£¬Èç¹ûÌìÌì±àдһЩµÍ¼¶±ðµÄ´úÂ룬ÓÚ¼ºÊǾø¶ÔûÓкô¦µÄ£¬Ò²²»ÒªÏÝÈëÄãÌýÆðÀ´ÇáËɵĿξÍÊǺÿÎŶ£¬ÒòΪÌýµÃ¶®µÄ£¬ºÜÈÝÒ×ѧ»áµÄ±ðÈ˶¼ÈÝÒ×ѧ»á£¬Ëùν“³ÔµÃ¿àÖп࣬ÔÚÄܳÉΪÈËÖÐÈË”£¬ÔÚÕâ¸öÐÐÒµ£¬ÒªÏë´Óǧ¾üÍòÂíÈËÆ´³öÒ»Ìõ·À´£¬¿Ï¶¨ÒªÓÐ×Ô¼ºµÄ³¤´¦¡£
Èç¹ûÎÒÃÇÕæµÄÄÜÎüµ½ÀÏʦ´«ÊÚµÄ֪ʶ50%,ÎҾ͸оõÊǷdz£Å£µÄÈË£¬Èç¹ûÄãÄÜÔÚÕâÆÚ¼äÎüÒýµÃ¸ü¶à£¬ÎÒÖ»ÄÜ˵£¬ÄãÊÇÕæµÄºÜÅ££¡¹¤×÷»¹²»ÊÇË®µ½Çþ³É£¡ÒòΪ١¸ÕÀÏʦ´«ÊڵIJ»¹âÊÇѧϰµÄ֪ʶ£¬¸üÊÇÒ»ÖÖ̬¶È£¬¶Ô´ý¹¤×÷µÄ̬¶È£¬ËäȻѧÆðÀ´ºÜÄÑ£¬µ«Êǹ¤×÷Öв»ÊÇ×Ü»áÓöµ½À§ÄÑÂð£¿Èç¹ûÒ»Óöµ½À§ÄÑÄãÔÚ¶ãÔÚ°µ´¦£¬ÉõÖÁÏñÓÐЩͬѧһÑù£¬²»È¥ÉϿεĻ°£¬Ö»ÄÜ˵ÊÇÒ»°ÜÍ¿µØÁË¡£
ÎÒÏÖÔÚ×îÏë˵ÊǵģºÖÕÀÏʦ¡£ÎÒÌ«³ç°ÝÄãÁË£¡
Spring securityÊÇʲô£¿È¨ÏÞ¿ò¼Ü¡£ÒÔÉùÃ÷µÄ·½Ê½À´±£»¤WebÓ¦ÓóÌÐòµÄURL·ÃÎÊ£¬Ö»ÐèÒª¼òµ¥µÄÅäÖü´¿É£¡
Web.xmlÖÐÅäÖãº
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/classes/application*.xml</param-value>
</context-param>
<filter>
<filter-name>spring


Ïà¹ØÎĵµ£º

IBM FileNet Content Java API ¼ò½é

2008 Äê 6 ÔÂ 24 ÈÕ
Ô­ÎĵØÖ·£º http://www.ibm.com/developerworks/cn/data/library/techarticles/dm-0806wangys/
±¾ÎĽéÉÜ IBM FileNet P8 4.0 Platform ÌṩµÄ Content Java API¡£Ê×ÏÈ¶Ô FileNet P8 Content Engine ºÍ API ½øÐиÅÒª½éÉÜ, ²¢ËµÃ÷ÁËһЩ»ù±¾¸ÅÄËæºóÏêϸ½éÉÜÁË FileNet Content EngineÌṩµÄ»ùÓÚ EJB ......

javaתÒå×Ö·û


JAVAÖÐתÒå×Ö·û£º 
1.°Ë½øÖÆתÒåÐòÁУº\ + 1µ½3λ5Êý×Ö£»·¶Î§'\000'~'\377' 
      \0£º¿Õ×Ö·û 
2.UnicodeתÒå×Ö·û£º\u + ËĸöÊ®Áù½øÖÆÊý×Ö£»0~65535 
     \u0000£º¿Õ×Ö·û 
3.ÌØÊâ×Ö·û£º¾Í3¸ö 
      \"£ºË ......

java³ÌÐòÔ±Èý¾³½ç

1.1.1 ÐÞÁ¶µÚÒ»²ã¾³½ç£º½£Ö¸ËÄ·½£¬ÊÔÎÊÌìÏÂÓëÕù·æ
ÐÞÁ¶µÚÒ»²ã¾³½çµÄ³ÌÐòÔ±£¬¶ÔJava¿ª·¢¼¼Êõ¾¡ÊýÕÆÎÕ£¬¿ª·¢¹¤¾ßÕÆÎÕµÃÒ²½ÏΪæµÊì¡£¿ÉÒÔ½«µÚ¶þ²ã´Î³ÌÐòÔ±½»¸øµÄÈÎÎñÍê³ÉµÃºÜ³öÉ«£¬¿ÉÒÔ°´ÒªÇó¶ÀÁ¢Íê³ÉÀà¡¢½Ó¿ÚºÍËã·¨µÄ¿ª·¢¡£×¢Öؼ¼ÇÉ£¬¶Ô¾ßÌåµÄ±à³ÌÓïÑԷdz£ÊìϤ¡£
ÄÜÁ¦Ö®Ëù¼°£¬½ÔÎÞ²»ÓÃÆ伫¡£ÈÏΪËùÓпª·¢ÖªÊ¶£¬Ô½ÊÇ¿´Æ ......

java ÑéÖ¤Éí·ÝÖ¤ Éí·ÝÖ¤javaÑéÖ¤

ÒýÓÃÓÚ£ºhttp://blog.csdn.net/hhzxj2008/archive/2010/01/10/5171444.aspx
public static boolean validatePersonalId(String personalId) {

if ((personalId == null) || ((personalId.length() != 15) &&
(personalId.length() != 18))) {
return ......

java Óëģʽ µÚÎåÕ£¬µÚÁùÕ½ӿںͳéÏóÀà

½Ó¿ÚºÍ³éÏóÀàÊÇjavaÖÐ×îÖØÒªµÄ2¸öÌØÕ÷£¬ÔÚ±¾ÊéÖÐдµ½Á˾ßÌåµÄÓ¦Ó㬿´ÁËʹÎÒ»ÐÈ»´óÎò¡£
ÔÚ½Ó¿ÚÖУ¬ËùÓеķ½·¨¶¼ÊÇpublic µ±È»ÔÚ½Ó¿ÚÖÐÒ²¿ÉÒÔÓÐpublic static finalÊôÐÔ
ΪʲôʹÓýӿڣº
1½Ó¿ÚÊǶԿɲåÈëÐԵı£Ö¤
¶Ô¼Ì³ÐµÄ×ÓÀàÓÐÓ°Ï죬¶Ô³¬ÀàûÓÐÓ°Ï죬¼õÉÙñîºÏ¶È
2½Ó¿Ú£¨ÒÔ¼°³éÏóÀࣩÓÃÀ´ÉùÃ÷Ò»¸öÐ嵀 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ