-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(jans-keycloak-integration): sync trust relationship configura…
…tion between config-api and keycloak #8008 (#8229) * feat(keycloak-integration): job scheduler #8008 * added saml metadata parsing library Signed-off-by: Rolain Djeumen <uprightech@gmail.com> * feat(keycloak-integration): sync sp configuration between config-api and kc #8008 * fixed typo in saml metadata parser Signed-off-by: Rolain Djeumen <uprightech@gmail.com> * feat(jans-keycloak-integration): sync trust relationship configuration between config-api and keycloak #8008 * added enum for SAML Bindings support * added helper methods to access some metadata objects Signed-off-by: Rolain Djeumen <uprightech@gmail.com> * feat(keycloak-integration): sync trust relationship config between config-api and kc #8008 * fix bugs in parser(temporary) Signed-off-by: Rolain Djeumen <uprightech@gmail.com> * feat(jans-keycloak-integration): sync tr config between config-api and kc #8000 * added authentication browser flow configuration Signed-off-by: Rolain Djeumen <uprightech@gmail.com> * feat(jans-keycloak-integration): sync tr config between config-api and kc #8008 * refactor trustrelationship sync job (delete non-existing trust relationships) * added code to sync new trust relationships Signed-off-by: Rolain Djeumen <uprightech@gmail.com> * feat(jans-keycloak-integration): sync tr config between config-api and kc #8008 * modifed saxutils to optimize re-use of sax parsing objects Signed-off-by: Rolain Djeumen <uprightech@gmail.com> * feat(jans-keycloak-integration): sync tr config between config-api and kc #8008 * added call to saxutils init to scheduler startup * additional changes to kc and config api Signed-off-by: Rolain Djeumen <uprightech@gmail.com> * feat(jans-keycloak-integration): sync tr config between config-api and kc #8008 * modifications to the logging configuration template * modifications to the application configuration template Signed-off-by: Rolain Djeumen <uprightech@gmail.com> * feat(jans-keycloak-integration): sync tr config between config-api and kc #8008 *added method to fetch released user attributes for a tr Signed-off-by: Rolain Djeumen <uprightech@gmail.com> * feat(jans-keycloak-integration): sync tr config between config api and kc #8008 * added protocol mapper api methods (will be used to update released attributes) Signed-off-by: Rolain Djeumen <uprightech@gmail.com> * feat(jans-keycloak-integration: sync tr between config-api and kc #8008 * added saml user attribute mapper configuration Signed-off-by: Rolain Djeumen <uprightech@gmail.com> * feat(jans-keycloak-integration): sync tr config between config-api and kc #8008 * made fixes to the createManagedSamlClient keycloak API wrapper method * completed implementation of released attributes sync Signed-off-by: Rolain Djeumen <uprightech@gmail.com> * feat(keycloak-integration): sync tr config between config-api and kc #8008 * added error support to the jans config api * fixed a bug related to saml encryption certificate configuration in keycloak 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> Co-authored-by: YuriyZ <yzabrovarniy@gmail.com>
- Loading branch information
1 parent
5d35fd0
commit 3bf5f6d
Showing
30 changed files
with
1,437 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
jans-core/saml/src/main/java/io/jans/saml/metadata/model/SAMLBinding.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package io.jans.saml.metadata.model; | ||
|
||
public enum SAMLBinding { | ||
SOAP("urn:oasis:names:tc:SAML:2.0:bindings:SOAP"), | ||
REVERSE_SOAP("urn:oasis:names:tc:SAML:2.0:bindings:PAOS"), | ||
HTTP_REDIRECT("urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"), | ||
HTTP_POST("urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"), | ||
HTTP_ARTIFACT("urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact"), | ||
URI("urn:oasis:names:tc:SAML:2.0:bindings:URI"), | ||
UNKNOWN(""); | ||
|
||
private final String value; | ||
|
||
private SAMLBinding(final String value) { | ||
this.value = value; | ||
} | ||
|
||
public String value() { | ||
|
||
return this.value; | ||
} | ||
|
||
public static SAMLBinding fromString(final String value) { | ||
|
||
for(SAMLBinding binding: SAMLBinding.values()) { | ||
if(binding.value.equals(value)) { | ||
return binding; | ||
} | ||
} | ||
return UNKNOWN; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.