Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
lemonldap-ng
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
246
Issues
246
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LemonLDAP NG
lemonldap-ng
Commits
26c3c5bd
Commit
26c3c5bd
authored
Aug 09, 2012
by
FX Deltombe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Useless method 'LL::NG::Portal::SharedConf::getProtectedSites' removed
parent
1da7f7c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
14 deletions
+1
-14
lemonldap-ng-portal/lib/Lemonldap/NG/Portal.pm
lemonldap-ng-portal/lib/Lemonldap/NG/Portal.pm
+1
-2
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/SharedConf.pm
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/SharedConf.pm
+0
-12
No files found.
lemonldap-ng-portal/lib/Lemonldap/NG/Portal.pm
View file @
26c3c5bd
...
@@ -366,8 +366,7 @@ session information.
...
@@ -366,8 +366,7 @@ session information.
=item * globalStorageOptions : parameters to bind to L<Apache::Session> module
=item * globalStorageOptions : parameters to bind to L<Apache::Session> module
=item * locationRules : this parameter is used by L<Lemonldap::NG::Handler> to
=item * locationRules : this parameter is used by L<Lemonldap::NG::Handler> to
read the rules. It can be set in the portal just to display protected sites by
read the rules.
the function C<getProtectedSites>.
=item * authentication: sheme to authenticate users (default: "ldap"). It can
=item * authentication: sheme to authenticate users (default: "ldap"). It can
be set to:
be set to:
...
...
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/SharedConf.pm
View file @
26c3c5bd
...
@@ -72,18 +72,6 @@ sub getConf {
...
@@ -72,18 +72,6 @@ sub getConf {
1
;
1
;
}
}
## @method list getProtectedSites()
# With SharedConf, $locationRules contains a hash table with virtual hosts as
# keys. So we can use it to know all protected virtual hosts.
# @return list list of protected virtual hosts.
sub
getProtectedSites
{
my
$self
=
shift
;
my
@tab
=
();
return
(
keys
%
{
$self
->
{
locationRules
}
}
)
if
(
ref
$self
->
{
locationRules
}
);
return
();
}
sub
__lmConf
{
sub
__lmConf
{
my
$self
=
shift
;
my
$self
=
shift
;
return
$self
->
{
lmConf
}
if
(
$self
->
{
lmConf
}
);
return
$self
->
{
lmConf
}
if
(
$self
->
{
lmConf
}
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment