diff --git a/testsuite/integration-deprecated/src/test/resources/authorization-test/keycloak.json b/testsuite/integration-deprecated/src/test/resources/authorization-test/keycloak.json deleted file mode 100644 index 1dffb5a5b8..0000000000 --- a/testsuite/integration-deprecated/src/test/resources/authorization-test/keycloak.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "realm": "photoz", - "auth-server-url" : "http://localhost:8081/auth", - "resource" : "photoz-restful-api", - "credentials": { - "secret": "secret" - } -} \ No newline at end of file diff --git a/testsuite/integration-deprecated/src/test/resources/authorization-test/test-photoz-realm.json b/testsuite/integration-deprecated/src/test/resources/authorization-test/test-photoz-realm.json deleted file mode 100644 index 8abc78c5d4..0000000000 --- a/testsuite/integration-deprecated/src/test/resources/authorization-test/test-photoz-realm.json +++ /dev/null @@ -1,181 +0,0 @@ -{ - "realm": "photoz", - "enabled": true, - "accessTokenLifespan": 60, - "accessCodeLifespan": 60, - "accessCodeLifespanUserAction": 300, - "ssoSessionIdleTimeout": 600, - "ssoSessionMaxLifespan": 36000, - "sslRequired": "external", - "registrationAllowed": false, - "privateKey": "MIICXAIBAAKBgQCrVrCuTtArbgaZzL1hvh0xtL5mc7o0NqPVnYXkLvgcwiC3BjLGw1tGEGoJaXDuSaRllobm53JBhjx33UNv+5z/UMG4kytBWxheNVKnL6GgqlNabMaFfPLPCF8kAgKnsi79NMo+n6KnSY8YeUmec/p2vjO2NjsSAVcWEQMVhJ31LwIDAQABAoGAfmO8gVhyBxdqlxmIuglbz8bcjQbhXJLR2EoS8ngTXmN1bo2L90M0mUKSdc7qF10LgETBzqL8jYlQIbt+e6TH8fcEpKCjUlyq0Mf/vVbfZSNaVycY13nTzo27iPyWQHK5NLuJzn1xvxxrUeXI6A2WFpGEBLbHjwpx5WQG9A+2scECQQDvdn9NE75HPTVPxBqsEd2z10TKkl9CZxu10Qby3iQQmWLEJ9LNmy3acvKrE3gMiYNWb6xHPKiIqOR1as7L24aTAkEAtyvQOlCvr5kAjVqrEKXalj0Tzewjweuxc0pskvArTI2Oo070h65GpoIKLc9jf+UA69cRtquwP93aZKtW06U8dQJAF2Y44ks/mK5+eyDqik3koCI08qaC8HYq2wVl7G2QkJ6sbAaILtcvD92ToOvyGyeE0flvmDZxMYlvaZnaQ0lcSQJBAKZU6umJi3/xeEbkJqMfeLclD27XGEFoPeNrmdx0q10Azp4NfJAY+Z8KRyQCR2BEG+oNitBOZ+YXF9KCpH3cdmECQHEigJhYg+ykOvr1aiZUMFT72HU0jnmQe2FVekuG+LJUt2Tm7GtMjTFoGpf0JwrVuZN39fOYAlo+nTixgeW7X8Y=", - "publicKey": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCrVrCuTtArbgaZzL1hvh0xtL5mc7o0NqPVnYXkLvgcwiC3BjLGw1tGEGoJaXDuSaRllobm53JBhjx33UNv+5z/UMG4kytBWxheNVKnL6GgqlNabMaFfPLPCF8kAgKnsi79NMo+n6KnSY8YeUmec/p2vjO2NjsSAVcWEQMVhJ31LwIDAQAB", - "requiredCredentials": [ - "password" - ], - "users": [ - { - "username": "alice", - "enabled": true, - "email": "alice@keycloak.org", - "firstName": "Alice", - "lastName": "In Chains", - "credentials": [ - { - "type": "password", - "value": "alice" - } - ], - "realmRoles": [ - "user" - ], - "clientRoles": { - "photoz-html5-client": [ - "uma_authorization", - "kc_entitlement" - ] - } - }, - { - "username": "jdoe", - "enabled": true, - "email": "jdoe@keycloak.org", - "firstName": "John", - "lastName": "Doe", - "credentials": [ - { - "type": "password", - "value": "jdoe" - } - ], - "realmRoles": [ - "user" - ], - "clientRoles": { - "photoz-html5-client": [ - "uma_authorization", - "kc_entitlement" - ] - } - }, - { - "username": "admin", - "enabled": true, - "email": "admin@admin.com", - "firstName": "Admin", - "lastName": "Istrator", - "credentials": [ - { - "type": "password", - "value": "admin" - } - ], - "realmRoles": [ - "user", - "admin" - ], - "clientRoles": { - "realm-management": [ - "realm-admin" - ], - "photoz-html5-client": [ - "uma_authorization", - "kc_entitlement" - ] - } - }, - { - "username": "service-account-photoz-restful-api", - "enabled": true, - "email": "service-account-photoz-restful-api@placeholder.org", - "serviceAccountClientId": "photoz-restful-api", - "realmRoles": [ - "uma_protection" - ], - "clientRoles": { - "photoz-restful-api" : ["uma_protection"] - } - } - ], - "roles": { - "realm": [ - { - "name": "user", - "description": "User privileges" - }, - { - "name": "admin", - "description": "Administrator privileges" - }, - { - "name": "uma_protection", - "description": "Allows access to the Protection API" - } - ] - }, - "clients": [ - { - "clientId": "photoz-html5-client", - "enabled": true, - "adminUrl": "/photoz-html5-client", - "baseUrl": "/photoz-html5-client", - "publicClient": true, - "redirectUris": [ - "/photoz-html5-client/*" - ] - }, - { - "clientId": "photoz-restful-api", - "enabled": true, - "publicClient": false, - "baseUrl": "/photoz-restful-api", - "bearerOnly": false, - "serviceAccountsEnabled": true, - "redirectUris": [ - "/photoz-restful-api/*" - ], - "secret": "secret" - }, - { - "clientId": "public-client-01", - "enabled": true, - "publicClient": true, - "baseUrl": "public-client-01", - "redirectUris": [ - "/public-client-01/*" - ] - }, - { - "clientId": "confidential-no-service-account", - "enabled": true, - "publicClient": false, - "baseUrl": "/confidential-no-service-account", - "bearerOnly": false, - "serviceAccountsEnabled": false, - "redirectUris": [ - "/confidential-no-service-account/*" - ], - "secret": "secret" - }, - { - "clientId": "test-client-1", - "secret": "secret", - "enabled": true, - "baseUrl": "test-client-1", - "redirectUris": [ - "/test-client-1/*" - ], - "webOrigins" : ["*"] - }, - { - "clientId": "test-client-2", - "secret": "secret", - "enabled": true, - "baseUrl": "test-client-2", - "redirectUris": [ - "/test-client-2/*" - ], - "webOrigins" : ["*"] - } - ] -} \ No newline at end of file