Code Monkey home page Code Monkey logo

Comments (2)

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

Vladimir Schäfer said:

Hi Mandus, it seems that when the bug was reported the revision 56 was already available and probably fixes the issue, but could you please verify that it really is so?

The check for binding is "service.getBinding().equals(context.getCommunicationProfileId()",
where service.getBinding() can never return null (in case metadata is correct), so it doesn't seem that this code could result in NullPointerException (rev. 56).

This check is not explicitly required by specification, but in this module messages sent using both HTTP-POST and HTTP-Redirect bindings are consumed at the same location. In case one of the bindings would be disabled in metadata, without this check messages sent using either of the binding would still be consumed.

The communicationProfileId is set during parsing of the SAML message from input in SAMLProcessorImpl, lines 131 and 134. Property inboundSAMLProtocol is used internally by OpenSAML for trust verifications and needs to be set to value "urn:oasis:names:tc:SAML:2.0:protocol".

from spring-security-saml.

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

Mandus Elfving said:

Sorry, my bad, we have actually extended the OpenSAML library to support Artifact binding (deconding) and for doing so we had to rewrite some parts of the code for this module. In doing so we forgot to update SAMLProcessorImpl (still setting inboundSAMLProtocol). This issue may therefore be closed.

By the way thanks for the great explanation!

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.