Commit d682baf7 authored by Clément OUDOT's avatar Clément OUDOT

Skip SLO if no method found (#LEMONLDAP-1084)

git-svn-id: svn://svn.forge.objectweb.org/svnroot/lemonldap/branches/lemonldap-ng_version_1_4-bugfixes@5394 1dbb9719-a921-0410-b57f-c3a383c2c641
parent 8ef3a6e0
......@@ -11,7 +11,7 @@ use Lemonldap::NG::Portal::Simple;
use Lemonldap::NG::Portal::_SAML; #inherits
use Lemonldap::NG::Common::Conf::SAML::Metadata;
our $VERSION = '1.4.10';
our $VERSION = '1.4.11';
our @ISA = qw(Lemonldap::NG::Portal::_SAML);
## @apmethod int authInit()
......@@ -1284,11 +1284,11 @@ sub authLogout {
$method = $self->getFirstHttpMethod( $server, $idp, $protocolType );
}
# Failback to SOAP
# Skip SLO if no method found
unless ( defined $method and $method != -1 ) {
$self->lmLog( "No method found with IDP $idpConfKey for SLO profile",
'debug' );
$method = $self->getHttpMethod("soap");
return PE_OK;
}
$self->lmLog(
......
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