openinteract2 :: auth.OpenInteract »ç¿ëÀÚ¿¡ ·Î±×ÀÎÇϱâÀ§ÇÑ ±âº» Ŭ·¡½º | |
Áö±Ý ´Ù¿î·Îµå |
openinteract2 :: auth. ¼øÀ§ ¹× ¿ä¾à
±¤°í
- ƯÇã:
- Perl Artistic License
- °¡°Ý:
- FREE
- °Ô½ÃÀÚ À̸§:
- Chris Winters
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~cwinters/SPOPS-0.87/SPOPS/SQLInterface.pm
openinteract2 :: auth. ű×
openinteract2 :: auth. ¼³¸í
OpenInteract »ç¿ëÀÚ ·Î±×ÀÎ ±âº» Ŭ·¡½º openInteract2 :: openInteract »ç¿ëÀÚ¿¡ ·Î±×ÀÎÇϱâÀ§ÇÑ ±âº» perl Ŭ·¡½ºÀÔ´Ï´Ù. ½Ä ³ëÇÁ # ´Ù¾çÇÑ ÀÎÁõ Á¶°¢¿¡ Ã¥ÀÓÀÌÀִ Ŭ·¡½º¸¦ ¼³Á¤ÇÕ´Ï´Ù (¼¹ö # ±¸¼º¿¡¼ ±âº»°ªÀº Á¤»óÀûÀ¸·Î ±¦Âú½À´Ï´Ù) AUTH_USER_CLASS = OFFINTERACT2 :: AUTH :: USER AUTH_GROUP_CLASS = openInteract2 ::: auth :: group auth_admin_class = openInteract2 :: auth :: AdminInteract2 :: auth :: AdminCheck ... - ¾î´ðÅÍ¿¡¼ È£Ãâ (°¡Àå ÀϹÝÀûÀÎ) : My $ auth_info = openInteract2 :: auth-> new () -> login (); # À̺Á, ´ç½ÅÀº ¾îµò°¡¿¡¼ »ç¿ëÀÚ¸¦ Áý¾î µé¾ú½À´Ï´Ù (¿¹ : http auth) ³» $ auth_info = openInteract2 :: auth-> new ({user => $ user}); $ auth_info-> login (); # ¿Í¿ì, »ç¿ëÀÚ ¹× ±×·ì? ÁÁ¾Æ, ³Ê´Â º¸½º ¾ß ... ³» $ auth_info = openInteract2 :: auth-> new ({user => $ »ç¿ëÀÚ, ±×·ì => $ groups}); $ auth_info-> login (); # ¸ðµç »ç¿ëÀÚ°¡ »çÀÌÆ®¿¡ ·Î±×ÀÎÇؾßÇÕ´Ï´Ù. »ç¿ëÀÚ°¡ 'required_skip'¿¡ ÁöÁ¤µÈ URL # ÆÐÅÏ Áß Çϳª¸¦ ¿äûÇÏÁö ¾ÊÀ¸¸é ·Î±×ÀÎÇÏÁö ¾ÊÀº »ç¿ëÀÚ´Â / login.html "required = 0 required_ural = / $ required_skip = ^ / $ required_skip = ^ / »öÀÎ .html $ required_skip = ^ / login. * required_skip = ^ / help. * # °¢ ·Î±×ÀÎ ... »ç¿ëÀÚ Á¤ÀÇ Çڵ鷯 Á¤ÀÇ ... custom_login_handler = my :: auth :: class custom_login_method = openInteract2 ÀÎÁõÀ»À§ÇÑ loginparent Ŭ·¡½º. ÀϹÝÀûÀ¸·Î ¾î´ðÅÍ (mod_perl content handler, cgi ½ºÅ©¸³Æ®, À̺¥Æ® Çڵ鷯 µî)´Â 'login ()'¶ó°í ºÎ¸£¸ç ¸ðµç °ÍÀ» ´Ù¸¥ °÷¿¡¼ »ç¿ëÀÚ¸¦ °¡Á® ¿À´Â °æ¿ì ¸ðµç ÀÏÀ» Á¤·ÄÇÏ°ÔÇϽʽÿÀ (HTTP ÀÎÁõ, ¸ðÀÚ µî) ±×·± ´ÙÀ½ »ç¿ëÀÚ¸¦ Åë°ú ÇÒ ¼ö ÀÖÀ¸¸ç OI´Â ±â²¨ÀÌ ¹Þ¾Æ µéÀÏ ¼ö ÀÖÀ¸¸ç »ç¿ëÀÚ °´Ã¼°¡ ¼ÓÇÑ ±×·ìÀ» ã¾Æ¼ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.ÀÌ Å¬·¡½º¿¡¼ »ç¿ëÇϴ Ŭ·¡½º´Â ¼¹ö ±¸¼ºÀ» ÅëÇØ ¸ðµÎ ¼ÒÇÁÆ® ¼³Á¤ÀÌ °¡´ÉÇÕ´Ï´Ù. ...¿¡ ´Ù¾çÇÑ ¼³Á¤ÀÇ '·Î±×ÀÎ'Å° ¾Æ·¡¿¡¼ È®ÀÎÇϽʽÿÀ. Áï, »ç¿ëÀÚ°¡ °ü¸®ÀÚÀÎÁö ¿©ºÎ¸¦ ³ªÅ¸³»´Â ÀÚ½ÅÀÇ »ç¿ëÀÚ À§Ä¡ ¹æ¹ý·Ð ¶Ç´Â (¾Æ¸¶µµ ´õ ÀϹÝÀûÀÎ) ÀÚ½ÅÀÇ Äڵ带 ±¸ÇöÇÒ ¼ö ÀÖ½À´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.
openinteract2 :: auth. °ü·Ã ¼ÒÇÁÆ®¿þ¾î