Commit 6a752a1a authored by Xavier Guimard's avatar Xavier Guimard

Move Auth::Base to Main::Auth

parent c47a7c0d
......@@ -16,7 +16,6 @@ lib/Lemonldap/NG/Portal/Auth.pod
lib/Lemonldap/NG/Portal/Auth/_WebForm.pm
lib/Lemonldap/NG/Portal/Auth/AD.pm
lib/Lemonldap/NG/Portal/Auth/Apache.pm
lib/Lemonldap/NG/Portal/Auth/Base.pm
lib/Lemonldap/NG/Portal/Auth/CAS.pm
lib/Lemonldap/NG/Portal/Auth/Choice.pm
lib/Lemonldap/NG/Portal/Auth/Combination.pm
......@@ -70,6 +69,7 @@ lib/Lemonldap/NG/Portal/Lib/SOAPProxy.pm
lib/Lemonldap/NG/Portal/Lib/U2F.pm
lib/Lemonldap/NG/Portal/Lib/Wrapper.pm
lib/Lemonldap/NG/Portal/Main.pm
lib/Lemonldap/NG/Portal/Main/Auth.pm
lib/Lemonldap/NG/Portal/Main/Constants.pm
lib/Lemonldap/NG/Portal/Main/Display.pm
lib/Lemonldap/NG/Portal/Main/Init.pm
......
......@@ -17,7 +17,7 @@ Lemonldap:NG::Portal::Auth - Writing authentication modules for LemonLDAP::NG.
our $VERSION = '0.1';
extends 'Lemonldap::NG::Portal::Auth::Base';
extends 'Lemonldap::NG::Portal::Main::Auth';
sub init {
...
......@@ -51,13 +51,13 @@ Lemonldap:NG::Portal::Auth - Writing authentication modules for LemonLDAP::NG.
=head1 DESCRIPTION
Lemonldap::NG::Auth::Base must be used to build Lemonldap::NG authentication
Lemonldap::NG::Main::Auth must be used to build Lemonldap::NG authentication
modules. Authentication modules are independent objects that are instantiated
by Lemonldap::NG portal. They must provides methods described below.
=head1 METHODS
=head2 Accessors and methods provided by Lemonldap::NG::Portal::Auth::Base
=head2 Accessors and methods provided by Lemonldap::NG::Portal::Main::Auth
=over
......@@ -78,7 +78,7 @@ by Lemonldap::NG portal. They must provides methods described below.
=head3 "Routes" management
Like any module that inherits from Lemonldap::NG::Portal::Plugin,
Lemonldap::NG::Portal::Auth::Base provides URI path functions:
Lemonldap::NG::Portal::Main::Auth provides URI path functions:
=over
......
......@@ -6,7 +6,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(PE_ERROR PE_OK);
our $VERSION = '2.0.0';
extends 'Lemonldap::NG::Portal::Auth::Base';
extends 'Lemonldap::NG::Portal::Main::Auth';
# INITIALIZATION
......
......@@ -14,7 +14,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
our $VERSION = '2.0.0';
extends 'Lemonldap::NG::Portal::Auth::Base', 'Lemonldap::NG::Portal::Lib::CAS';
extends 'Lemonldap::NG::Portal::Main::Auth', 'Lemonldap::NG::Portal::Lib::CAS';
# PROPERTIES
......
......@@ -9,7 +9,7 @@ use Scalar::Util 'weaken';
our $VERSION = '2.0.0';
# TODO: See Lib::Wrapper
extends 'Lemonldap::NG::Portal::Auth::Base';
extends 'Lemonldap::NG::Portal::Main::Auth';
# PROPERTIES
......
......@@ -7,7 +7,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(PE_OK PE_ERROR PE_BADCREDENTIALS);
our $VERSION = '2.0.0';
extends 'Lemonldap::NG::Portal::Auth::Base';
extends 'Lemonldap::NG::Portal::Main::Auth';
# INITIALIZATION
......
......@@ -14,7 +14,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
our $VERSION = '2.0.0';
extends 'Lemonldap::NG::Portal::Auth::Base';
extends 'Lemonldap::NG::Portal::Main::Auth';
has keytab => ( is => 'rw' );
......
......@@ -10,7 +10,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(PE_OK PE_ERROR PE_REDIRECT);
our $VERSION = '2.0.0';
extends 'Lemonldap::NG::Portal::Auth::Base';
extends 'Lemonldap::NG::Portal::Main::Auth';
# INITIALIZATION
......
......@@ -6,7 +6,7 @@ use Lemonldap::NG::Portal::Main::Constants;
our $VERSION = '2.0.0';
extends 'Lemonldap::NG::Portal::Auth::Base';
extends 'Lemonldap::NG::Portal::Main::Auth';
# INITIALIZATION
......
......@@ -17,7 +17,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
our $VERSION = '2.0.0';
extends 'Lemonldap::NG::Portal::Auth::Base';
extends 'Lemonldap::NG::Portal::Main::Auth';
# PROPERTIES
......
......@@ -11,7 +11,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
our $VERSION = '2.0.0';
extends 'Lemonldap::NG::Portal::Auth::Base',
extends 'Lemonldap::NG::Portal::Main::Auth',
'Lemonldap::NG::Portal::Lib::OpenIDConnect';
# INTERFACE
......
......@@ -6,7 +6,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(PE_OK);
our $VERSION = '2.0.0';
extends 'Lemonldap::NG::Portal::Auth::Base',
extends 'Lemonldap::NG::Portal::Main::Auth',
'Lemonldap::NG::Portal::Lib::Remote';
# RUNNING METHODS
......
......@@ -23,7 +23,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
our $VERSION = '2.0.0';
extends 'Lemonldap::NG::Portal::Auth::Base', 'Lemonldap::NG::Portal::Lib::SAML';
extends 'Lemonldap::NG::Portal::Main::Auth', 'Lemonldap::NG::Portal::Lib::SAML';
# INTERFACE
......
......@@ -11,7 +11,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
our $VERSION = '2.0.0';
extends 'Lemonldap::NG::Portal::Auth::Base';
extends 'Lemonldap::NG::Portal::Main::Auth';
# PROPERTIES
......
......@@ -10,7 +10,7 @@ use Lemonldap::NG::Portal::Lib::Slave;
our $VERSION = '2.0.0';
extends 'Lemonldap::NG::Portal::Auth::Base';
extends 'Lemonldap::NG::Portal::Main::Auth';
# INITIALIZATION
......
......@@ -6,7 +6,7 @@ use URI::Escape;
use Lemonldap::NG::Common::UserAgent;
use Lemonldap::NG::Portal::Main::Constants qw(PE_OK PE_ERROR);
extends 'Lemonldap::NG::Portal::Auth::Base';
extends 'Lemonldap::NG::Portal::Main::Auth';
our $VERSION = '2.0.0';
......
......@@ -14,7 +14,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
our $VERSION = '2.0.0';
extends 'Lemonldap::NG::Portal::Auth::Base';
extends 'Lemonldap::NG::Portal::Main::Auth';
# PROPERTIES
......
......@@ -9,7 +9,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(PE_OK PE_ERROR PE_FORMEMPTY);
our $VERSION = '2.0.0';
extends 'Lemonldap::NG::Portal::Auth::Base';
extends 'Lemonldap::NG::Portal::Main::Auth';
# INITIALIZATION
......
......@@ -20,7 +20,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
our $VERSION = '2.0.0';
extends 'Lemonldap::NG::Portal::Auth::Base';
extends 'Lemonldap::NG::Portal::Main::Auth';
has authnLevel => (
is => 'rw',
......
......@@ -10,7 +10,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(PE_OK);
our $VERSION = '2.0.0';
extends 'Lemonldap::NG::Portal::Auth::Base';
extends 'Lemonldap::NG::Portal::Main::Auth';
has availableModules => ( is => 'rw', default => sub { {} } );
......
package Lemonldap::NG::Portal::Auth::Base;
package Lemonldap::NG::Portal::Main::Auth;
use strict;
use Mouse;
......
......@@ -65,7 +65,7 @@ provides methods described below.
=head3 "Routes" management
Like any module that inherits from Lemonldap::NG::Portal::Plugin,
Lemonldap::NG::Portal::Auth::Base provides URI path functions:
Lemonldap::NG::Portal::Main::Auth provides URI path functions:
=over
......
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