SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-HTTP-Server-Simple-Authen rpm build for : openSUSE Tumbleweed. For other distributions click perl-HTTP-Server-Simple-Authen.

Name : perl-HTTP-Server-Simple-Authen
Version : 0.04 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 1.42 Date : 2024-08-05 19:24:08
Group : Development/Libraries/Perl Source RPM : perl-HTTP-Server-Simple-Authen-0.04-1.42.src.rpm
Size : 0.01 MB
Packager : (none)
Summary : Authentication plugin for HTTP::Server::Simple
Description :
HTTP::Server::Simple::Authen is an HTTP::Server::Simple plugin to allow
HTTP authentication. Authentication scheme is pluggable and you can use
whatever Authentication protocol that Authen::Simple supports.

You can use \'authenticate\' method whatever you want to authenticate the
request. The method returns \'$username\' taken from the request if the
authentication is successful, and \'undef\' otherwise. The code in SYNOPSIS
requires authentication for all the requests and behaves just the same as
Apache\'s \'Require valid-user\'.

The following code will explain more about conditioning.

sub handle_request {
my($self, $cgi) = AATT_;
if ($cgi->path_info =~ m!/foo/!) {
my $user = $self->authenticate;
return unless defined($user) && length($user) == 8;
}
...
}

This means all the requests to URL \'/foo/\' require to be authenticated, and
usernames with 8 chars long are authorized.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-H/openSUSE_Tumbleweed/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-HTTP-Server-Simple-Authen-0.04-1.42.noarch.rpm
     

Provides :
perl(HTTP::Server::Simple::Authen)
perl-HTTP-Server-Simple-Authen

Requires :
/usr/bin/perl
perl(:MODULE_COMPAT_5.40.0)
perl(Authen::Simple) >= 0.04
perl(HTTP::Server::Simple) >= 0.16
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.40.0/HTTP
/usr/lib/perl5/vendor_perl/5.40.0/HTTP/Server
/usr/lib/perl5/vendor_perl/5.40.0/HTTP/Server/Simple
/usr/lib/perl5/vendor_perl/5.40.0/HTTP/Server/Simple/Authen.pm
/usr/lib/perl5/vendor_perl/5.40.0/HTTP/Server/Simple/server.pl
/usr/share/doc/packages/perl-HTTP-Server-Simple-Authen
/usr/share/doc/packages/perl-HTTP-Server-Simple-Authen/Changes
/usr/share/man/man3/HTTP::Server::Simple::Authen.3pm.gz

 
ICM