"Fossies" - the Fresh Open Source Software Archive

Member "perl-ldap-0.66/lib/LWP/Protocol/ldapi.pm" (8 Apr 2015, 902 Bytes) of package /linux/privat/perl-ldap-0.66.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Perl source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "ldapi.pm" see the Fossies "Dox" file reference documentation.

    1 package LWP::Protocol::ldapi;
    2 
    3 use strict ;
    4 use base 'LWP::Protocol::ldap' ;
    5 
    6 1;
    7 
    8 __END__
    9 
   10 =head1 NAME
   11 
   12 LWP::Protocol::ldapi - Provide LDAPI support for LWP::UserAgent
   13 
   14 =head1 SYNOPSIS
   15 
   16   use LWP::UserAgent;
   17   use MIME::Base64;
   18 
   19   $ua = LWP::UserAgent->new();
   20   $res = $ua->get('ldapi:///' .
   21                   'o=University%20of%20Michigan,c=US??sub?(cn=Babs%20Jensen)',
   22                   Authorization => 'Basic '.encode_Base64('cn=John Doe:secret')):
   23 
   24 =head1 DESCRIPTION
   25 
   26 The LWP::Protocol::ldapi module provides support for using I<ldapi> schemed
   27 URLs with LWP.  This module is a plug-in to the LWP protocol handling, so
   28 you don't use it directly.
   29 
   30 =head1 SEE ALSO
   31 
   32 L<LWP::Protocol::ldap>, L<LWP::Protocol::ldaps>
   33 
   34 =head1 COPYRIGHT
   35 
   36 Copyright (c) 2012 Peter Marschall. All rights reserved. This program is
   37 free software; you can redistribute it and/or modify it under the same
   38 terms as Perl itself.