home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-perl-addon-1.4.9-installer.exe / EXTERNAL.pm < prev    next >
Encoding:
Perl POD Document  |  2003-10-21  |  658 b   |  37 lines

  1. # Copyright (c) 1998-2002 Graham Barr <gbarr@pobox.com> and 2001 Chris Ridd
  2. # <chris.ridd@messagingdirect.com>.  All rights reserved.  This program
  3. # is free software; you can redistribute it and/or modify it under the
  4. # same terms as Perl itself.
  5.  
  6. package Authen::SASL::Perl::EXTERNAL;
  7.  
  8. use strict;
  9. use vars qw($VERSION @ISA);
  10.  
  11. $VERSION = "1.03";
  12. @ISA     = qw(Authen::SASL::Perl);
  13.  
  14. my %secflags = (
  15.     noplaintext  => 1,
  16.     nodictionary => 1,
  17. );
  18.  
  19. sub _order { 2 }
  20. sub _secflags {
  21.   shift;
  22.   grep { $secflags{$_} } @_;
  23. }
  24.  
  25. sub mechanism { 'EXTERNAL' }
  26.  
  27. sub client_start {
  28.   ''
  29. }
  30.  
  31. sub client_step {
  32.   shift->_call('user');
  33. }
  34.  
  35. 1;
  36.  
  37.