Commit 0690a0c7 authored by Christophe Maudoux's avatar Christophe Maudoux

Improve code (#1625)

parent 24d5fe7a
......@@ -13,7 +13,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
PE_SENDRESPONSE
);
our $VERSION = '2.0.2';
our $VERSION = '2.0.3';
extends 'Lemonldap::NG::Portal::Main::Issuer',
'Lemonldap::NG::Portal::Lib::CAS';
......@@ -23,7 +23,7 @@ extends 'Lemonldap::NG::Portal::Main::Issuer',
use constant beforeAuth => 'storeEnvAndCheckGateway';
use constant sessionKind => 'ICAS';
has rule => ( is => 'rw', default => sub { {} } );
has rule => ( is => 'rw' );
sub init {
my ($self) = @_;
......
......@@ -6,11 +6,11 @@ use URI::Escape;
use Lemonldap::NG::Common::FormEncode;
use Lemonldap::NG::Portal::Main::Constants qw(PE_OK PE_BADURL PE_GET_SERVICE_NOT_ALLOWED);
our $VERSION = '2.0.2';
our $VERSION = '2.0.3';
extends 'Lemonldap::NG::Portal::Main::Issuer';
has rule => ( is => 'rw', default => sub { {} } );
has rule => ( is => 'rw' );
# INITIALIZATION
......
......@@ -16,7 +16,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
PE_OID_SERVICE_NOT_ALLOWED
);
our $VERSION = '2.0.2';
our $VERSION = '2.0.3';
extends 'Lemonldap::NG::Portal::Main::Issuer';
......@@ -50,7 +50,7 @@ has spList => (
has openidPortal => ( is => 'rw' );
has rule => ( is => 'rw', default => sub { {} } );
has rule => ( is => 'rw' );
# INITIALIZATION
......
......@@ -15,7 +15,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
PE_OIDC_SERVICE_NOT_ALLOWED
);
our $VERSION = '2.0.2';
our $VERSION = '2.0.3';
extends 'Lemonldap::NG::Portal::Main::Issuer',
'Lemonldap::NG::Portal::Lib::OpenIDConnect',
......@@ -29,7 +29,7 @@ sub beforeAuth { 'exportRequestParameters' }
use constant sessionKind => 'OIDCI';
has rule => ( is => 'rw', default => sub { {} } );
has rule => ( is => 'rw' );
has configStorage => (
is => 'ro',
lazy => 1,
......
......@@ -16,12 +16,12 @@ use Lemonldap::NG::Portal::Main::Constants qw(
PE_UNAUTHORIZEDPARTNER
);
our $VERSION = '2.0.2';
our $VERSION = '2.0.3';
extends 'Lemonldap::NG::Portal::Main::Issuer',
'Lemonldap::NG::Portal::Lib::SAML';
has rule => ( is => 'rw', default => sub { {} } );
has rule => ( is => 'rw' );
has ssoUrlRe => ( is => 'rw' );
has ssoUrlArtifact => ( is => 'rw' );
has ssoGetUrl => ( is => 'rw' );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment