diff --git a/docs/script-catalog/person_authentication/super-gluu-external-authenticator/SuperGluuExternalAuthenticator.py b/docs/script-catalog/person_authentication/super-gluu-external-authenticator/SuperGluuExternalAuthenticator.py index 97d3364759e..c97486c2d1a 100644 --- a/docs/script-catalog/person_authentication/super-gluu-external-authenticator/SuperGluuExternalAuthenticator.py +++ b/docs/script-catalog/person_authentication/super-gluu-external-authenticator/SuperGluuExternalAuthenticator.py @@ -1147,8 +1147,7 @@ def registerScanClient(self, asBaseUrl, asRedirectUri, asSSA, customScript): try: httpService = CdiUtil.bean(HttpService2) - httpClient = httpService.getHttpsClient() - resultResponse = httpService.executePost(httpClient, endpointUrl, None, headers, body, ContentType.APPLICATION_JSON) + resultResponse = httpService.executePost(endpointUrl, None, headers, body, ContentType.APPLICATION_JSON, None) httpResponse = resultResponse.getHttpResponse() httpResponseStatusCode = httpResponse.getStatusLine().getStatusCode() print "Super-Gluu. Scan. Get client registration response status code: %s" % httpResponseStatusCode