Skip to content
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

bug(saml): Need to parse SP metadata from XML to post to KC in individual elements #7777

Open
nynymike opened this issue Feb 19, 2024 · 0 comments
Assignees
Milestone

Comments

@nynymike
Copy link
Contributor

Describe the bug

image

This does not work. Config API cannot parse SAML TR XML file.

Expected behavior

Need to parse out individual data and post to KC API.

@nynymike nynymike added this to the 1.1.1 milestone Feb 19, 2024
uprightech added a commit that referenced this issue Feb 27, 2024
* added saml xsd metadata
* added www.w3.org metadata

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
* added ContactPerson metadata object
* added Endpoint and IndexEndpoint metadata object

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
* added EntityDescriptor metadata object

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
* added SPSSODescriptor metadata object
* added SSODescriptor metadata object
* added RoleDescriptor metadata object

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
* added SAMLMetadata wrapper object

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
* added KeyDescriptor metadata object
* added Localizedtext metadata object
* added Organization metadata object

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
* added various digital signature models

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
* added xml encryption objects

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
* housekeeping for schema directories

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
* added various utility classes to support metadata parsing

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
* added builder for SAMLMetadata

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
* added EndpointBuilder helper
* added IndexedEndpointBuilder helper

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
* added EntityDescriptorBuilder helper

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
* added ContactPersonBuilder
* added EndpointBuilder
* added IndexedEndpointBuilder
* added KeyDescriptorBuilder
* added LocalizedTextBuilder
* added OrganizationBuilder

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
* added RoleDescriptorBuilder
* added SSODescriptorBuilder
* added SPSSODescriptorBuilder

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
* removed debugging statement from XPathUtils

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
* renamed method in EntityDescriptorBuilder

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
* minor changes to RoleDescriptorBuilder

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
*minor changes to SAMLMetadataBuilder

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
*minor changes to SPSSODescriptorBuilder

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
* minor changes to SSODescriptorBuilder

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
* adjustments related to code quality

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
uprightech added a commit that referenced this issue Feb 27, 2024
Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
yuriyz pushed a commit that referenced this issue Mar 8, 2024
* fix(keycloak-integration): saml metadata parsing #7777
* added saml xsd metadata
* added www.w3.org metadata

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added ContactPerson metadata object
* added Endpoint and IndexEndpoint metadata object

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added EntityDescriptor metadata object

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added SPSSODescriptor metadata object
* added SSODescriptor metadata object
* added RoleDescriptor metadata object

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added SAMLMetadata wrapper object

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added KeyDescriptor metadata object
* added Localizedtext metadata object
* added Organization metadata object

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added various digital signature models

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added xml encryption objects

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parser #7777
* housekeeping for schema directories

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added various utility classes to support metadata parsing

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added builder for SAMLMetadata

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added EndpointBuilder helper
* added IndexedEndpointBuilder helper

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added EntityDescriptorBuilder helper

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added ContactPersonBuilder
* added EndpointBuilder
* added IndexedEndpointBuilder
* added KeyDescriptorBuilder
* added LocalizedTextBuilder
* added OrganizationBuilder

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added RoleDescriptorBuilder
* added SSODescriptorBuilder
* added SPSSODescriptorBuilder

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metatata parsing #7777

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* removed debugging statement from XPathUtils

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* renamed method in EntityDescriptorBuilder

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* minor changes to RoleDescriptorBuilder

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
*minor changes to SAMLMetadataBuilder

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
*minor changes to SPSSODescriptorBuilder

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* minor changes to SSODescriptorBuilder

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* adjustments related to code quality

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parser #7777

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parser #7777

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

---------

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
Co-authored-by: Mohammad Abudayyeh <47318409+moabu@users.noreply.github.com>
@moabu moabu modified the milestones: 1.1.1, 1.1.2 May 1, 2024
@moabu moabu modified the milestones: 1.1.2, 1.1.3 May 29, 2024
@moabu moabu modified the milestones: 1.1.3, 1.1.4 Jul 8, 2024
@moabu moabu modified the milestones: 1.1.4, 1.1.5 Sep 3, 2024
@moabu moabu modified the milestones: 1.1.5, 1.1.6 Sep 16, 2024
yuriyz pushed a commit that referenced this issue Nov 7, 2024
* fix(keycloak-integration): saml metadata parsing #7777
* added saml xsd metadata
* added www.w3.org metadata

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added ContactPerson metadata object
* added Endpoint and IndexEndpoint metadata object

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added EntityDescriptor metadata object

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added SPSSODescriptor metadata object
* added SSODescriptor metadata object
* added RoleDescriptor metadata object

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added SAMLMetadata wrapper object

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added KeyDescriptor metadata object
* added Localizedtext metadata object
* added Organization metadata object

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added various digital signature models

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added xml encryption objects

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parser #7777
* housekeeping for schema directories

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added various utility classes to support metadata parsing

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added builder for SAMLMetadata

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added EndpointBuilder helper
* added IndexedEndpointBuilder helper

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added EntityDescriptorBuilder helper

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added ContactPersonBuilder
* added EndpointBuilder
* added IndexedEndpointBuilder
* added KeyDescriptorBuilder
* added LocalizedTextBuilder
* added OrganizationBuilder

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* added RoleDescriptorBuilder
* added SSODescriptorBuilder
* added SPSSODescriptorBuilder

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metatata parsing #7777

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* removed debugging statement from XPathUtils

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* renamed method in EntityDescriptorBuilder

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* minor changes to RoleDescriptorBuilder

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
*minor changes to SAMLMetadataBuilder

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
*minor changes to SPSSODescriptorBuilder

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* minor changes to SSODescriptorBuilder

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777
* adjustments related to code quality

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parser #7777

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parser #7777

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

* fix(keycloak-integration): saml metadata parsing #7777

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>

---------

Signed-off-by: Rolain Djeumen <uprightech@gmail.com>
Co-authored-by: Mohammad Abudayyeh <47318409+moabu@users.noreply.github.com>
Former-commit-id: 53ef338
@moabu moabu modified the milestones: 1.1.6, next-release Nov 21, 2024
@moabu moabu modified the milestones: 1.2.0, next release Dec 24, 2024
@moabu moabu modified the milestones: 1.3.0, next-release Jan 21, 2025
@moabu moabu modified the milestones: 1.4.0, next-release Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants