I'm currently logged in as Root on a Solaris 10 Server for my schools department and I'm trying to figure out why 20 of my users(Students) can log into the Solaris 10 Sun Ray Oracle Server with correct username and password but then be looped back to the same log in page. I tried deleting their username and creating a new user but it keeps looping back to the log in page.
Hi,
I want to code a script with perl. For this, I need some knowledge.
How can i use system user name(with group) and password in my login page?
I will be happy if you can help me (2 Replies)
just installed solaris on my dell pc. I partinon my hard drive to dual boot solaris and windows.
window works fine and solaris as well but after login in more to 3 times in solaris i keep getting this error as below and as a result i could not login again.
I have re-installed several times but... (3 Replies)
Hello,
I have created a web page on a server using apache and added .htaccess and .htpasswd in the folder for authentification.
I was wondering if there was anyway to tie-in the login for this page with the login used to logon to the server.
i.e. the same login info. is used for both,... (2 Replies)
Hello,
I have created a web page on a server using apache and added .htaccess and .htpasswd in the folder for authentification.
I was wondering if there was anyway to tie-in the login for this page with the login used to logon to the server.
i.e. the same login info. is used for both, when... (1 Reply)
I had a login page and want to authenticate through a Unix file (.txt file).
-----abc.txt------
absvd|sfjlfnfkf
anldnv|asklffdko
------------------
So I want to read the file and check if corresponding username and password matches or not using javascript or JSP. Also tell me in which... (1 Reply)
I want to create a login page in HTML which is hosted on apache server.
The login page first authenticate the user and then directed to a form which in turn run a script on the server.
I want to make login page without php or jsp.
Please advice. (13 Replies)
How can I make htmldoc write to pdf page that requires login and password?
I'am doing it with PHP passthru. I have my login but htmldoc in passthru is showing me only login page. (4 Replies)
Hi all,
I am stepping into web-development as a hobby point of view. I am using WAMP server & have created the initial page & SQL set-up too. My problem is, I was able to login to a page/redirect to a page though I haven't specified my username & password. I thought of using both... (2 Replies)
I recently installed Solaris 10 as a VM. I was using the JDS and shut down the vm when I left the office. When I rebooted today I login in at the desktop login screen and press ok but I am reverted to the console screen for a spilt second and then back to the login screen. I log in as root and my... (7 Replies)
Hello dears,
I am trying to log in the website using curl but no luck so far.
The web page Content-Type is : text/html;charset=ISO-8859-1
I try the following command using curl:
curl \
--header "Content-type: text/html" \
--request POST \
--data '{"user": "someusername",... (0 Replies)
Discussion started by: Vit0_Corleone
0 Replies
LEARN ABOUT DEBIAN
authen::simple::adapter
Authen::Simple::Adapter(3pm) User Contributed Perl Documentation Authen::Simple::Adapter(3pm)NAME
Authen::Simple::Adapter - Adapter class for implementations
SYNOPSIS
package Authenticate::Simple::Larry;
use strict;
use base 'Authen::Simple::Adapter';
__PACKAGE__->options({
secret => {
type => Params::Validate::SCALAR,
default => 'wall',
optional => 1
}
});
sub check {
my ( $self, $username, $password ) = @_;
if ( $username eq 'larry' && $password eq $self->secret ) {
$self->log->debug( qq/Successfully authenticated user '$username'./ )
if $self->log;
return 1;
}
$self->log->debug( qq/Failed to authenticate user '$username'. Reason: 'Invalid credentials'/ )
if $self->log;
return 0;
}
1;
DESCRIPTION
Adapter class for implementations.
METHODS
o new ( %parameters )
If overloaded, this method should take a hash of parameters. The following options should be valid:
o cache ( $ )
Any object that supports "get", "set". Only successful authentications are cached.
cache => Cache::FastMmap->new
o callback ( & )
A subref that gets called with two scalar references, username and password.
callback = sub {
my ( $username, $password ) = @_;
if ( length($$password) < 6 ) {
return 0; # abort, invalid credintials
}
if ( $$password eq 'secret' ) {
return 1; # abort, successful authentication
}
return; # proceed;
}
o log ( $ )
Any object that supports "debug", "info", "error" and "warn".
log => Log::Log4perl->get_logger('Authen::Simple')
log => $r->log
log => $r->server->log
o init ( \%parameters )
This method is called after construction. It should assign parameters and return the instance.
sub init {
my ( $self, $parameters ) = @_;
# mock with parameters
return $self->SUPER::init($parameters);
}
o authenticate ( $username, $password )
End user method. Applies callback, checks cache and calls "check" unless aborted by callback or a cache hit.
o check ( $username, $password )
Must be implemented in sublcass, should return true on success and false on failure.
o check_password( $password, $encrypted )
o options ( \%options )
Must be set in subclass, should be a valid Params::Validate specification. Accessors for options will be created unless defined in
sublcass.
__PACKAGE__->options({
host => {
type => Params::Validate::SCALAR,
optional => 0
},
port => {
type => Params::Validate::SCALAR,
default => 80,
optional => 1
}
});
SEE ALSO
Authen::Simple
Authen::Simple::Password
Params::Validate
AUTHOR
Christian Hansen "chansen@cpan.org"
COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-04-19 Authen::Simple::Adapter(3pm)