Skip to content

Commit

Permalink
remove keycloak
Browse files Browse the repository at this point in the history
  • Loading branch information
mmouly committed Jan 19, 2024
1 parent 5675e94 commit bb1692e
Show file tree
Hide file tree
Showing 32 changed files with 17 additions and 485 deletions.
8 changes: 6 additions & 2 deletions iam/iamclient-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ export client_id=<ODM_OIDC_CLIENT_ID>
# Note: the functional_user_id and functional_user_groupIds are the functional user
# and groups for client_crendetials. This works from 19.0.0.4.

curl -k -s -X POST \
curl -k -s -X PUT \
-H "Content-Type:application/json" \
-u "${admin_username}:${admin_password}" \
-d @- "${registration_url}" <<+++
-d @- "${registration_url}/${client_name}" <<+++
{
"client_id": "${client_id}",
"client_secret": "${client_secret}",
Expand All @@ -39,7 +39,11 @@ curl -k -s -X POST \
"hash_len":0,
"preauthorized_scope": "openid",
"introspect_tokens": true,
<<<<<<< HEAD
"redirect_uris": ["https://localhost:9643/odm/decisioncenter/openid/redirect/odm","https://localhost:9643/decisioncenter/openid/redirect/odm","https://localhost:9743/DecisionRunner/openid/redirect/odm","https://localhost:9843/res/openid/redirect/odm","https://localhost:9943/DecisionService/openid/redirect/odm","https://cpd-odm.apps.9.20.212.178.nip.io/odm/decisioncenter/openid/redirect/odm","https://cpd-odm.apps.9.20.212.178.nip.io/odm/res/openid/redirect/odm","https://cpd-odm.apps.9.20.212.178.nip.io/odm/DecisionRunner/openid/redirect/odm","https://cpd-odm.apps.9.20.212.178.nip.io/odm/DecisionService/openid/redirect/odm","http://127.0.0.1:9081/oidcCallback","http://127.0.0.1:19081/oidcCallback","http://127.0.0.1:29081/oidcCallback","http://127.0.0.1:39081/oidcCallback","https://localhost/tokenreceiver"]
=======
"redirect_uris": ["https://localhost:9643/decisioncenter/openid/redirect/odm","https://localhost:9743/DecisionRunner/openid/redirect/odm","https://localhost:9843/res/openid/redirect/odm","https://localhost:9943/DecisionService/openid/redirect/odm","https://localhost:9444/oidcclient/redirect/odm","http://127.0.0.1:9081/oidcCallback","http://127.0.0.1:19081/oidcCallback","http://127.0.0.1:29081/oidcCallback","http://127.0.0.1:39081/oidcCallback","https://localhost/tokenreceiver"]
>>>>>>> 1282087 (first IAM config)
}
+++
echo
5 changes: 5 additions & 0 deletions iam/management-ingress-chain.pem
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,9 @@ Me692kP7ydPhjJ+xeLGzG7lUY7QFzkVn7smfFEMLZ4LakbEmr62lvJeFsEIHg9kT
o227+OHgban+oNsXCF0pRMpBRq85jI6EIsZ6KELIvHodlJCgR3LJ3Db6HK+ECg6H
y5Os3jU5/g7Ldzl3Lngdvt9xRrzlxFD1J2VQjt5t5m42ZWz2AnQSu81aFSo0bjhi
6zk/c3n7
=======
MIIDcDCCAligAwIBAgIQBIh70Y/tX7etyF11bgQL7jANBgkqhkiG9w0BAQsFADAzMRUwEwYDVQQKEwxjZXJ0LW1hbmFnZXIxGjAYBgNVBAMTEWNzLWNhLWNlcnRpZmljYXRlMB4XDTIwMTAyODE4NTAwNloXDTIxMTAyODE4NTAwNlowNDEVMBMGA1UEChMMY2VydC1tYW5hZ2VyMRswGQYDVQQDExJtYW5hZ2VtZW50LWluZ3Jlc3MwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDdD9/caytrM8gip7gRSnKtrnEwLHo3GrzUCaFRUmT1NaVbmaY1yct9PYzti6im34C7ztyl0fR+wteREp2HVvrDF68h7Af/tpIGPIWKVNLePN3IFzCtMjvBF8hbzSyPHGtb2efbzDdmIVdtSBs7QlhHQeoG547T1yBHxeGswDCl43Qa1N5yTVnegjMcCHVkZFr7R9mug1AitXOMgjjqqAQCCYY5OE2edQ5uuEOh78m/SIIKGa4cIMl1IH2d24rV3s8GSl2N7wAVHPd4oq1PhtHMlDjdiZaDxRlARbmn8f8ZSVDVCYI9eW3ML9XLY6M1WXdY5D2HjkLYFCxtegjcCKD3AgMBAAGjfzB9MA4GA1UdDwEB/wQEAwIFoDATBgNVHSUED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ItU5Jw3GOIqyF4RqEn8UKxhI4p+GwnPQxJ6KVP6EKUWeoobjcFp6BxbTHKSbz5Ml1h0594gnUCAwEAAaNBMD8wDgYDVR0PAQH/BAQDAgKkMA8GA1UdEwEB/wQFMAMBAf8wHAYDVR0RBBUwE4IRY3MtY2EtY2VydGlmaWNhdGUwDQYJKoZIhvcNAQELBQADggEBAKFR8B6+AwxPJX1aY1iFw9gpHO6uKxMoHOPZMU0oUWRrf0uRoXquJGSzTBDkcnFJvdF3dW+kuDQ32sg22RK1FgdZap8SzS5kWYDjuFWopZHJxPRy7UDpeX88rlLSNgvF9UTAsC3zk3XJdv1lkiIyhIilWc4+naROrFnNdk3V5yh7+zbe2Qu1v9eTsvNDAQuSLmnbactoHr4gi5ENiBifrM3npmQ/bPIbxW1ttTd7+phChcAYhrS7vPTXzrkQm1w9Nk5tLjbEvJKjsS6VblqoVDa0xER6FgmFG6JDXoWbkqybB8tkyB4bEeZTUNLfu3iDIjHL5GwieN7OV0xQF6Jfb/o=
-----END CERTIFICATE-----
10 changes: 5 additions & 5 deletions iam/token-password.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

# https://www.ibm.com/support/knowledgecenter/SSHKN6/iam/3.x.x/apis/oidc_auth_apis.html#get2

token_url=https://cp-console.apps.9.20.212.178.nip.io/idprovider/v1/auth/identitytoken
token_url=https://cp-console.apps.ocp461dba.cp.fyre.ibm.com/idprovider/v1/auth/identitytoken

export client_secret=ibm-odm-vtt-odm-oidc-client-id-secret-value
export client_id=ibm-odm-vtt-odm-oidc-client-id
username=odmAdmin
password=odmAdmin
client_id=iamclient4odm
client_secret=iamsecretodm
username=[email protected]
password=XXXX

scope=openid

Expand Down
2 changes: 1 addition & 1 deletion iam/webSecurity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<variable name="odm.rtsAdministrators.group1" value="${group1}"/>
<variable name="odm.rtsConfigManagers.group1" value="${group1}"/>

<variable name="user1" value="user:customRealm/odmAdmin"/>
<variable name="user1" value="user:customRealm/082443706"/>
<variable name="odm.resAdministrators.user1" value="${user1}"/>
<variable name="odm.resDeployers.user1" value="${user1}"/>
<variable name="odm.resExecutors.user1" value="${user1}"/>
Expand Down
22 changes: 0 additions & 22 deletions keycloak/OdmOidcProviders.json

This file was deleted.

110 changes: 0 additions & 110 deletions keycloak/apitests/executeApiTests.sh

This file was deleted.

Binary file removed keycloak/apitests/rulesets/SampleXOM.zip
Binary file not shown.
7 changes: 0 additions & 7 deletions keycloak/apitests/rulesets/payloadEmpty.json

This file was deleted.

18 changes: 0 additions & 18 deletions keycloak/apitests/rulesets/payloadLoan.json

This file was deleted.

Binary file not shown.
17 changes: 0 additions & 17 deletions keycloak/env-keycloak-trial.sh

This file was deleted.

17 changes: 0 additions & 17 deletions keycloak/group-security-configurations.xml

This file was deleted.

18 changes: 0 additions & 18 deletions keycloak/keycloak.crt

This file was deleted.

Binary file removed keycloak/keycloak.mv.db
Binary file not shown.
Binary file removed keycloak/keystore.jks
Binary file not shown.
32 changes: 0 additions & 32 deletions keycloak/ldap-configurations.xml

This file was deleted.

Binary file removed keycloak/odmtruststore.jks
Binary file not shown.
22 changes: 0 additions & 22 deletions keycloak/oktaclient-create.sh

This file was deleted.

9 changes: 0 additions & 9 deletions keycloak/oktaclient-delete.sh

This file was deleted.

10 changes: 0 additions & 10 deletions keycloak/oktaclient-get.sh

This file was deleted.

9 changes: 0 additions & 9 deletions keycloak/oktaclient-list.sh

This file was deleted.

33 changes: 0 additions & 33 deletions keycloak/oktaclient-update.sh

This file was deleted.

Loading

0 comments on commit bb1692e

Please sign in to comment.