Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xavier Bachelot
lemonldap-ng
Commits
7d255abd
Commit
7d255abd
authored
Nov 17, 2009
by
Clément OUDOT
Browse files
Move AuthCAS loading in authInit
parent
5f73c307
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/AuthCAS.pm
View file @
7d255abd
...
...
@@ -7,14 +7,24 @@ package Lemonldap::NG::Portal::AuthCAS;
use
strict
;
use
Lemonldap::NG::Portal::
Simple
;
use
AuthCAS
;
our
$VERSION
=
'
0.1
2
';
our
$VERSION
=
'
0.1
3
';
## @apmethod int authInit()
#
Does nothing.
#
Try to load AuthCAS perl module
# @return Lemonldap::NG::Portal constant
sub
authInit
{
my
$self
=
shift
;
# require Perl module
eval
{
require
AuthCAS
};
if
(
$@
)
{
$self
->
lmLog
(
"
Module AuthCAS not found in
@INC
",
'
error
'
);
return
PE_ERROR
;
}
PE_OK
;
}
...
...
Write
Preview
Supports
Markdown
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