Code Monkey home page Code Monkey logo

Comments (3)

spring-projects-issues avatar spring-projects-issues commented on May 22, 2024

Rob Moore said:

I should have mentioned that I believe this will be an issue for non-proxied servers as well. Really any server that responds to requests for multiple hostnames will run into this issue.

from spring-security-saml.

spring-projects-issues avatar spring-projects-issues commented on May 22, 2024

GWA said:

I've made a patch (patch_entityid.patch) that resolve some part of this issue:

You can now add to the metadata filter a property (forcedEntityId) that will override URL found

For instance, if 'http://www.myserver.com/myapplication' id behind a reverse proxy, then the entity id (and base url) will be calculated based on the server inner address (say server-00005.inner.domain)
User cannot access directly to server-0005.inner.domain so no authentication is possible.
If you add the forcedEntityId,(see below) metadata will have a correct base url for the user.

This issue is also about virtual hosting ONE application. I believe this is a mistake.
To resolve this, you'd rather redirect each of your virtual host to the main host.

If your server has several application, each on a specific host, this patch will help you to resolve your issue

from spring-security-saml.

spring-projects-issues avatar spring-projects-issues commented on May 22, 2024

Vladimir Schäfer said:

You can set property entityBaseURL on thee metadataGenerator you pass to metadataFilter. This will override the baseURL which would be otherwise calculated based on the current request.

from spring-security-saml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.