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

Properties set via "Configure Relying Party" control don't have effect on TRs based on a federation's TR #1285

Closed
aliaksander-samuseu opened this Issue Oct 2, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@aliaksander-samuseu

aliaksander-samuseu commented Oct 2, 2018

Environment:
CentOS 7.4, gluu-server-3.1.4-1-2.RC6.centos6

Preconditions:

  1. A federation TR exists in your test Gluu Server instance, which ideally includes a SP you could use for testing the resulting SAML flow. Testshib's metadata located here could be used to emulate it as it's formatted as federation's meatadata, just consisting of 2 entities (IDP and SP)

Steps to reproduce:

  1. Login to web UI and move to "Trust Relationships" page
  2. Add a new SP TR, "Entity Type" - "Single SP", "Metadata Location" - "Federation", "Federation Name" - your existing federation; select "https://sp.testshib.org/shibboleth-sp" for "Entity ID" if you chose to use Testshib's metadata for federation before.
  3. Enable "Configure Relying Party", add "SAML2SSO" to the list and make sure you'll set "encryptAssertions" to "never" for it.
  4. Add a few attributes to "Released" list and click the "Add" button
  5. Restart "identity", then "idp" services
  6. Initiate a test flow for the SP, and check SAML response IDP will send to it

Result:
Despite encryption was disabled for this SP, assertion is still encrypted in the response. After studying the resulting /opt/shibboleth-idp/conf/relying-party.xml file it becomes clear oxTrust doesn't include a corresponding relying party override element for SP TRs based on fed TRs (it works fine for regular, "standalone" SP TRs).

@yurem

This comment has been minimized.

Contributor

yurem commented Dec 4, 2018

@aliaksander-samuseu Can you share sample file with override element?

yurem added a commit that referenced this issue Dec 10, 2018

@yurem

This comment has been minimized.

Contributor

yurem commented Dec 10, 2018

Fixed

@yurem yurem closed this Dec 10, 2018

yurem added a commit that referenced this issue Dec 10, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment