Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for SLO #29

Closed
wants to merge 23 commits into from
Closed

add support for SLO #29

wants to merge 23 commits into from

Conversation

BernardoSilva
Copy link

Opening PR from a fork that was mentioned to have SLO support implemented.

@tmilos can you review and maybe merge it?

@coveralls
Copy link

coveralls commented Oct 14, 2016

Coverage Status

Coverage decreased (-2.5%) to 96.262% when pulling 6e762dd on PiwikPRO:master into c4b1765 on lightSAML:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-3.1%) to 95.62% when pulling 237ad4c on PiwikPRO:master into c4b1765 on lightSAML:master.

$sessions = $this->ssoStateStore->get()->getSsoSessions();

if (count($sessions) === 0) {
return $this->createLogoutResponse();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method is called when there's no incoming message - thus IDP didn't sent a LogoutRequest. But, here, in case there are no sso sessions in store, we're making LogoutResponse that will get rejected by IDP. Isn't an exception better suited?

@tigrang
Copy link

tigrang commented Oct 12, 2017

Is there any progress on this? Thanks.

chriskicker and others added 8 commits November 23, 2017 11:20
* introduce default and idpdata metadata providers

* introduce domain resolver api

* bump required sf to min 2.4

* remove security bundle

* remove prefer lowest suite from build

* add bundle configuration for enabling idp data metadata provider

*  default and idp data metadata providers tests

* bundle configuration tests

* readme update

* extension tests

* use camelCase in tests methods

* http api tests

* restore default controller metadata action, remove default metadata provider and metadata provider factory

* add idp data descriptor store service if idp data metadata provider enabled

* introduce idp data entity descriptor store

* fix definitions

* fix tests

* entity descriptor store, http api tests

* remove unnecessary dependencies

* test fix

* restore http mock version

* stores unit tests

* phpcs

* functional tests when idp-data enabled

* fix tests

* review improvements

* test naming

* exception naming
* injected IdpDataCredentialStore
* return organisation field instead of whole array
* refactored CompositeCredentialStore and added const to Apis
* add missing X509CertificateIdpDataTest and HttpApiTest missing methods
* store unit tests
…-change

PPCDEV-6258 allow to enable idp-data with int
* PPCDEV-6430 - Sign Logout SAML Messages by default

Many Identity Providers using SingleLogout requires that e.g
LogoutRequest is signed - since that change don't affect logout requests
without verification it's safe to make it a default behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants