Comments (2)
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.
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)
- Apache HttpClient3.1 has a security vulnerability while using SAML2 authentication in Grails4 HOT 1
- Depenedencies can not be loaded since repo.spring.io got restricted HOT 1
- java 11 compatability HOT 1
- wrongly setting empty to a null Set<String> HOT 1
- Upgrade to secure version of Apache Velocity HOT 3
- VelocityFactory sets invalid properties
- Update Venocity for CVE-2021-29425 Mitigation
- how to handle URL encoding in SAML response HOT 1
- spring-security-saml2 opensaml v.2 dependency conflict with opensaml v.3 HOT 1
- SAMLDefaultLogger logs warning errors on INFO level HOT 1
- Dependency cycle with SAMLEntryPoint HOT 2
- org.springframework.security.saml2.provider.service.authentication.Saml2RedirectAuthenticationRequest is not serializable HOT 1
- login sometimes is only possible at the second click HOT 1
- Compatibility with Spring 6 HOT 5
- CSP issue velocityTemplateId on HTTPPostBinding
- Update esapi version for vulernability CVE-2022-23437 to 2.2.3.0 or greater
- EmptyStorageFactory Questions for Replay Prevention HOT 1
- Update esapi version for CVE-2022-23457 HOT 3
- MetadataManager returns random idp from the list of registered
- Why is the Subject of the Assertion required?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-security-saml.