Lemonldap::Portal::Cda is a Cross Domain Authentification Perl extension for Lemonldap SSO.
SYNOPSIS
use Lemonldap::Portal::Cda;
my $stack_user= Lemonldap::Portal::Cda->new(type=> 'master');
or my $stack_user= Lemonldap::Portal::Cda->new(type=> 'slave');
Lemonldap is a SSO system under GPL. Sometimes you have two or more domains (.bar.foo and .bar.foo2) The CDA :Cross Domain Authentification manages and centralize all credentials on all domains . CDA works with redirection in order to catch the credential cookie.
You may use an objet "master" domain with a "slave" domain . All authentification needed for the "slave" domain will be redirected on the "master" domain
METHODS
new (type => 'master'|'slave');
process (param => %params, bar => foo );
The process method alway return an error '8' (message = 'CDA requested') .
The master CDA just do a redirection with the id_session in the params of url GET . The slave CDA uses the id_session send by master for put on fly a cookie on slave domain.
see directory examples.
(url_encoded,url_decoded) : getAllRedirection
return the initial request encoded in Base64 and plaintext url
string : getSession
return the id_session or false .
string : message() ;
return the text of error
int : error() ;
return the number of error
Product's homepage
Requirements:
· Perl