LemonLDAP :: NG :: Portal :: Authssl.

LemonLDAP :: NG :: Portal :: AuthSSLÀº SSL V3 ¸ÞÄ¿´ÏÁòÀ» ±â¹ÝÀ¸·Î LemonLDAP ȣȯ Æ÷ÅÐÀ» ±¸ÃàÇϱâÀ§ÇÑ Perl È®ÀåÀÚÀÔ´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

LemonLDAP :: NG :: Portal :: Authssl. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Xavier Guimard
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~guimard/Net-Server-Mail-0.15/lib/Net/Server/Mail/ESMTP/XFORWARD.pm

LemonLDAP :: NG :: Portal :: Authssl. ű×


LemonLDAP :: NG :: Portal :: Authssl. ¼³¸í

LemonLDAP :: NG :: Portal :: AuthSSLÀº SSL V3 ¸ÞÄ¿´ÏÁòÀ» ±â¹ÝÀ¸·Î LemonLDAP ȣȯ Æ÷ÅÐÀ» ±¸ÃàÇϱâÀ§ÇÑ Perl È®ÀåÀÚÀÔ´Ï´Ù. LemonLDAP :: NG :: Portal :: AuthSSLÀº SSL V3 ¸ÞÄ¿´ÏÁòÀ» ±â¹ÝÀ¸·Î LemonLDAP ȣȯ Æ÷ÅÐÀ» ±¸ÃàÇϱâÀ§ÇÑ Perl È®ÀåÀÚÀÔ´Ï´Ù. ½Ä ³ëÇÁ (LemonDap) :: NG :: Portal :: AuthSSL; $ Portal = New LemonLDAP :: NG :: Portal (domain => 'gendarmerie.defense.gouv.fr', storageModule => 'apache :: session :: mysql', storageOptions => {datasource => 'dbi : mysql) : µ¥ÀÌÅͺ£À̽º ', username =>'db_user ', password =>'db_password ', tablename =>'sessions ',}, ldapserver =>'ldap.domaine.com ', cookie_secure => 1,); # °úºÎÇÏÀÇ ¿¹ : $ Portal -> {setsessioninfo} = sub {my ($ self) = @_¸¦ ÀúÀåÇÒ LDAP º¯¼ö¸¦ ¼±ÅÃÇϽʽÿÀ. $ _ QW (UID CN Mail Appli) {$ self-> {sessioninfo} -> {$ _} = $ Ç׸ñ -> get_value ($ _); } pe_ok; }; if ($ portal-> process ()) {#Àº CGI ¸Þ¼Òµå°¡ÀÖ´Â ¸Þ´º¸¦ ¿©±â¿¡ ¾¹´Ï´Ù. ÀÌ ÆäÀÌÁö´Â »ç¿ëÀÚ°¡ ¿©±â¿¡¼­ ¸®µð·º¼ÇµÇÁö ¾ÊÀº °æ¿ì¿¡¸¸ Ç¥½ÃµË´Ï´Ù. $ Portal-> Çì´õ Àμâ; # ÀØÁö ¸¶¼¼¿ä (CGI (3)) Àμâ "..."; # ¶Ç´Â »ç¿ëÀÚ¸¦ ¸Þ´º Àμâ $ Portal-> ¸®µð·º¼Ç (-uri => 'https : // portal / menu')·Î ¸®µð·º¼ÇÇϽʽÿÀ. } else {# ¿©±â¿¡ CGI ¸Þ¼Òµå·Î ÀÎÁõÇÏ´Â µ¥ »ç¿ëµÇ´Â HTML ¾ç½ÄÀ» ¾¹´Ï´Ù. # $ Portal-> ¿À·ù AthentificationÀÌ ½ÇÆÐÇÑ °æ¿ì ¿À·ù ¸Þ½ÃÁö°¡ ¹ÝȯµË´Ï´Ù. # °æ°í : ¹«À§ °¡¸é ÀÔ·Â À̸§Àº "»ç¿ëÀÚ"¹× "¾ÏÈ£"Àμâ $ Portal-> Çì´õÀÔ´Ï´Ù. # ÀØÁö ¸¶¼¼¿ä (CGI (3)) Àμâ "..."; Àμâ '

'; # ¾ç½Ä¿¡¼­ ' '¸¦ ÀÔ·ÂÇÏ´Â µ¥ ÇÊ¿äÇÑ °ªÀÌ ÇÊ¿äÇÕ´Ï´Ù. # ´ÙÀ½, ·Î±×ÀÎ ¹× ¾ÏÈ£ Àμâ '·Î±×ÀÎ : <ÀÔ·Â À̸§ = "»ç¿ëÀÚ">
'; Àμâ '¾ÏÈ£ : '; ''Àμâ; } httpd.conf ¼öÁ¤ : sslverifyClient°¡ ÇÊ¿äÇÕ´Ï´Ù. ssloptions + exportcertdata + compenenvvars + stdatevvars lemonldapÀº Apache :: ¼¼¼Ç ¸ðµâÀ» ±â¹ÝÀ¸·ÎÇÏ´Â °£´ÜÇÑ Web-SSOÀÔ´Ï´Ù. ÀÀ¿ë ÇÁ·Î±×·¥ÀÇ ¸î °¡Áö º¯°æ »çÇ×ÀÌÀÖ´Â º¸È£ ¿µ¿ªÀÇ ºôµå¸¦ ´Ü¼øÈ­ÇÕ´Ï´Ù (°èÁ¤À»À§ÇÑ ÀϺΠÇì´õ¸¦ Àоî¾ßÇÕ´Ï´Ù). ÀÎÁõ ¹× ±ÇÇÑ ºÎ¿©¸¦ ¸ðµÎ °ü¸®ÇÏ°í ȸ°è Çì´õ¸¦ Á¦°øÇÕ´Ï´Ù. µû¶ó¼­ À¥ °ø°£¿¡ ´ëÇÑ Àüü AAA º¸È£¸¦ °¡Áú ¼ö ÀÖ½À´Ï´Ù. µµ¸ÞÀÎ µµ¸ÞÀÎ ÀÎÁõÀ» ±¸ÃàÇÏ´Â ¹æ¹ý¿¡´Â µÎ °¡Áö ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù. µµ¸ÞÀÎ ÀÎÁõ ÀÚü (LemonLDAP :: Portal :: CDA (¾ÆÁ÷ LemonLDAP :: NG¿¡¼­ ±¸ÇöµÇÁö ¾ÊÀ½)) "Liberty Alliance"(LemonLDAP :: libertyalliance :: *)ÀÌ ¶óÀ̺귯¸®ÀÌ ¶óÀ̺귯¸® LemonLDAP :: NG :: PortalÀ» »ç¿ëÇÏ¿© Apache SSLv3 ¸ÞÄ¿´ÏÁòÀ» »ç¿ëÇÏ´Â ¹æ¹ý ±×·¡¼­ SSL º¯¼ö¸¦ CGI.SEE¿¡ ³»º¸³»±â À§ÇØ SSL º¯¼ö¸¦ ³»º¸³»·Á¸é »ç¿ë¹ý ¹× ±âŸ ¹æ¹ý¿¡ ´ëÇÑ NG :: Æ÷ÅÐ. ¡¤ Perl ¿ä±¸ »çÇ× : ¡¤ Perl.


LemonLDAP :: NG :: Portal :: Authssl. °ü·Ã ¼ÒÇÁÆ®¿þ¾î