| Katalysator :: Plugin :: Authenticatie :: Winkel :: LDAP CATALYST :: Plugin :: Authentication :: Winkel :: LDAP maakt authenticatie van een LDAP-directory mogelijk. |
Download nu |
Katalysator :: Plugin :: Authenticatie :: Winkel :: LDAP Rangschikking & Samenvatting
- Vergunning:
- Perl Artistic License
- Naam uitgever:
- Adam Jacob
- Uitgever website:
- http://search.cpan.org/~holoway/Catalyst-Plugin-Authentication-Store-LDAP-0.04/lib/Catalyst/Plugin/Authentication/Store/LDAP.pm
Katalysator :: Plugin :: Authenticatie :: Winkel :: LDAP Tags
Katalysator :: Plugin :: Authenticatie :: Winkel :: LDAP Beschrijving
Katalysator :: Plugin :: Authentication :: Winkel :: LDAP maakt authenticatie van een LDAP-directory mogelijk. Katalysator :: Plugin :: Authenticatie :: Winkel :: LDAP maakt authenticatie van een LDAP-directory mogelijk. Synopsis Gebruik Catalyst QW / Authentication-authenticatie :: Winkel :: LDAP-authenticatie :: Referentie :: Wachtwoord /; __Package __-> config ('authenticatie' => {'ldap' => {'ldap_server' => 'ldap.yourcompany.com', 'ldap_server_options' => {'timeout' => 30,}, 'binddn' => 'Anoniem', 'Bindpw' => 'DONTCAREHOW', 'START_TLS' => 1, 'Start_TLS_Options' => {'verifieert' => 'none',}, 'user_basedn' => 'ou = mensen, dc = yourcompany , DC = com ',' user_filter '=>' ((objectclass = posixaccount) (UID =% s)) ',' User_Scope '=>' One ',' User_field '=>' UID ',' User_Search_options '=> {'Deref' => 'altijd',}, 'gebruik_roles' => 1, 'rollene_basedn' => 'ou = groepen, dc = yourcompany, dc = com', 'rollene_filter' => '((objectclass = posixgroup) (MemberUid =% s)) ',' RolseScope '=>' One ',' Rolder_field '=>' UID ',' Role_Value '=>' DN ',' Role_search_options '=> {' Deref '=>' Altijd ' ,},}},); Sub Login: Global {My ($ Self, $ C) = @_; $ c-> login ($ c-> req-> param ("login"), $ c-> req-> param ("wachtwoord"),); $ c-> res-> lichaam ("WELKOM". $ C-> Gebruikers-> gebruikersnaam. "!"); } Deze plug-in gebruikt NET :: LDAP om uw applicatie te laten verifiëren tegen een LDAP-directory. Het heeft een behoorlijk hoge mate van flexibiliteit, gezien de brede variatie van LDAP-directories en schema's van het ene systeem naar een andere. Het authenticeert gebruikers in twee stappen: 1) Een zoekopdracht op de map wordt uitgevoerd, op zoek naar een gebruikersobject dat overeenkomt met de gebruikersnaam je passeert. Dit gebeurt met de bindreferenties die zijn geleverd in de configuratieopties "Binddn" en "Bindpw ".2) Als dat object wordt gevonden, binden we dan opnieuw aan de map als dat object. Ervan uitgaande dat dit succesvol is, is de gebruiker geverifieerd. Vereisten: · Perl
Katalysator :: Plugin :: Authenticatie :: Winkel :: LDAP Gerelateerde software