diff options
author | Soisik Froger <soisik.froger@worteks.com> | 2019-12-16 18:05:13 +0300 |
---|---|---|
committer | Clément OUDOT <clement.oudot@worteks.com> | 2019-12-16 18:59:48 +0300 |
commit | 2313df0e00b17ebfb2a12f17844a356ad8392c0d (patch) | |
tree | e4f42414343c0134950ef3c534a486c08612cd50 /lib | |
parent | 04fcb5387bd2b23f9032d7f86552f41e82b443ef (diff) |
use NameId format, name qualifier and name SP qualifier in SAML logout request (fixed SP qualifier typo)
Signed-off-by: Clément OUDOT <clement.oudot@worteks.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Controller/SAMLController.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Controller/SAMLController.php b/lib/Controller/SAMLController.php index 7badc3d7..c65f0b6a 100644 --- a/lib/Controller/SAMLController.php +++ b/lib/Controller/SAMLController.php @@ -281,7 +281,7 @@ class SAMLController extends Controller { $this->session->set('user_saml.samlNameId', $auth->getNameId()); $this->session->set('user_saml.samlNameIdFormat', $auth->getNameIdFormat()); $this->session->set('user_saml.samlNameIdNameQualifier', $auth->getNameIdNameQualifier()); - $this->session->set('user_saml.samlNameIdNameSPQualifier', $auth->getNameIdNameSPQualifier()); + $this->session->set('user_saml.samlNameIdSPNameQualifier', $auth->getNameIdSPNameQualifier()); $this->session->set('user_saml.samlSessionIndex', $auth->getSessionIndex()); $this->session->set('user_saml.samlSessionExpiration', $auth->getSessionExpiration()); try { @@ -360,9 +360,9 @@ class SAMLController extends Controller { $nameId = $this->session->get('user_saml.samlNameId'); $nameIdFormat = $this->session->get('user_saml.samlNameIdFormat'); $nameIdNameQualifier = $this->session->get('user_saml.samlNameIdNameQualifier'); - $nameIdNameSPQualifier = $this->session->get('user_saml.samlNameIdNameSPQualifier'); + $nameIdSPNameQualifier = $this->session->get('user_saml.samlNameIdSPNameQualifier'); $sessionIndex = $this->session->get('user_saml.samlSessionIndex'); - $targetUrl = $auth->logout(null, [], $nameId, $sessionIndex, $stay, $nameIdFormat, $nameIdNameQualifier, $nameIdNameSPQualifier); + $targetUrl = $auth->logout(null, [], $nameId, $sessionIndex, $stay, $nameIdFormat, $nameIdNameQualifier, $nameIdSPNameQualifier); } if(!empty($targetUrl) && !$auth->getLastErrorReason()){ $this->userSession->logout(); |