-
Notifications
You must be signed in to change notification settings - Fork 6k
SAML AuthNRequest Signatures - Step 1 #7758
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
Conversation
6515265
to
d6501a3
Compare
...ork/security/saml2/provider/service/authentication/OpenSamlAuthenticationRequestFactory.java
Outdated
Show resolved
Hide resolved
...ork/security/saml2/provider/service/authentication/OpenSamlAuthenticationRequestFactory.java
Outdated
Show resolved
Hide resolved
...ork/security/saml2/provider/service/authentication/OpenSamlAuthenticationRequestFactory.java
Outdated
Show resolved
Hide resolved
...ringframework/security/saml2/provider/service/authentication/Saml2AuthenticationRequest.java
Outdated
Show resolved
Hide resolved
...ringframework/security/saml2/provider/service/authentication/Saml2AuthenticationRequest.java
Outdated
Show resolved
Hide resolved
...ringframework/security/saml2/provider/service/authentication/Saml2AuthenticationRequest.java
Outdated
Show resolved
Hide resolved
...mework/security/saml2/provider/service/authentication/Saml2AuthenticationRequestFactory.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great progress, @fhanik. I've left some additional feedback inline.
...e-provider/src/main/java/org/springframework/security/saml2/provider/service/Saml2Utils.java
Outdated
Show resolved
Hide resolved
...ork/security/saml2/provider/service/authentication/OpenSamlAuthenticationRequestFactory.java
Outdated
Show resolved
Hide resolved
...g/springframework/security/saml2/provider/service/authentication/OpenSamlImplementation.java
Show resolved
Hide resolved
...mework/security/saml2/provider/service/authentication/Saml2AuthenticationRequestFactory.java
Outdated
Show resolved
Hide resolved
...mework/security/saml2/provider/service/authentication/Saml2AuthenticationRequestFactory.java
Show resolved
Hide resolved
...va/org/springframework/security/saml2/provider/service/registration/Saml2MessageBinding.java
Outdated
Show resolved
Hide resolved
...ringframework/security/saml2/provider/service/authentication/Saml2AuthenticationRequest.java
Outdated
Show resolved
Hide resolved
...k/security/saml2/provider/service/servlet/filter/Saml2WebSsoAuthenticationRequestFilter.java
Outdated
Show resolved
Hide resolved
...ringframework/security/saml2/provider/service/authentication/Saml2AuthenticationRequest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great progress, @fhanik! I've left just a bit more feedback inline.
...mework/security/saml2/provider/service/authentication/Saml2AuthenticationRequestContext.java
Outdated
Show resolved
Hide resolved
...framework/security/saml2/provider/service/authentication/Saml2PostAuthenticationRequest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, @fhanik! I've left some additional feedback.
...ework/security/saml2/provider/service/authentication/AbstractSaml2AuthenticationRequest.java
Outdated
Show resolved
Hide resolved
...ework/security/saml2/provider/service/authentication/AbstractSaml2AuthenticationRequest.java
Outdated
Show resolved
Hide resolved
...ework/security/saml2/provider/service/authentication/AbstractSaml2AuthenticationRequest.java
Outdated
Show resolved
Hide resolved
...mework/security/saml2/provider/service/authentication/Saml2AuthenticationRequestContext.java
Outdated
Show resolved
Hide resolved
...ork/security/saml2/provider/service/authentication/OpenSamlAuthenticationRequestFactory.java
Outdated
Show resolved
Hide resolved
...mework/security/saml2/provider/service/authentication/Saml2AuthenticationRequestFactory.java
Outdated
Show resolved
Hide resolved
...mework/security/saml2/provider/service/authentication/Saml2AuthenticationRequestFactory.java
Outdated
Show resolved
Hide resolved
...framework/security/saml2/provider/service/authentication/Saml2PostAuthenticationRequest.java
Outdated
Show resolved
Hide resolved
...framework/security/saml2/provider/service/authentication/Saml2PostAuthenticationRequest.java
Outdated
Show resolved
Hide resolved
...framework/security/saml2/provider/service/authentication/Saml2PostAuthenticationRequest.java
Show resolved
Hide resolved
ceeec72
to
0c38887
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, @fhanik. I've left some additional feedback. Also, in preparation for merging, will you please format your commit message to follow the contribution guidelines?
...framework/security/saml2/provider/service/authentication/Saml2PostAuthenticationRequest.java
Outdated
Show resolved
Hide resolved
...ecurity/saml2/provider/service/authentication/OpenSamlAuthenticationRequestFactoryTests.java
Outdated
Show resolved
Hide resolved
ab8f204
to
c69833d
Compare
Implements the following bindings for AuthNRequest - REDIRECT - POST (future PR) Has been tested with - Keycloak - SSOCircle - Okta - SimpleSAMLPhp Fixes spring-projectsgh-7711
Nice job, @fhanik! Before you merge, please squash your commits. Also, please consider updating the other |
Has been tested with - Keycloak - SSOCircle - Okta - SimpleSAMLPhp This PR extends (builds on previous commits and adds user configuration options) spring-projects#7758
Has been tested with - Keycloak - SSOCircle - Okta - SimpleSAMLPhp This PR extends (builds on previous commits and adds user configuration options) #7758
- Refactored to use SAMLMetadataSignatureSigningParametersResolver Issue gh-7758
Simple fix for gh-7711 that changes the way the AuthNRequest is signed and
Has been tested with
Further configuration options (POST vs REDIRECT) that build on top of this PR can be found in:
#7759