diff --git a/components/authentication-framework/org.wso2.carbon.identity.application.authentication.endpoint.util/src/main/java/org/wso2/carbon/identity/application/authentication/endpoint/util/TenantMgtAdminServiceClient.java b/components/authentication-framework/org.wso2.carbon.identity.application.authentication.endpoint.util/src/main/java/org/wso2/carbon/identity/application/authentication/endpoint/util/TenantMgtAdminServiceClient.java index 6fa71b3c80d5..630e79b9e581 100644 --- a/components/authentication-framework/org.wso2.carbon.identity.application.authentication.endpoint.util/src/main/java/org/wso2/carbon/identity/application/authentication/endpoint/util/TenantMgtAdminServiceClient.java +++ b/components/authentication-framework/org.wso2.carbon.identity.application.authentication.endpoint.util/src/main/java/org/wso2/carbon/identity/application/authentication/endpoint/util/TenantMgtAdminServiceClient.java @@ -22,6 +22,7 @@ import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.wso2.carbon.CarbonException; +import org.wso2.carbon.base.MultitenantConstants; import org.wso2.carbon.utils.security.KeystoreUtils; import javax.net.ssl.HostnameVerifier; @@ -65,7 +66,9 @@ public class TenantMgtAdminServiceClient { /** * Default keystore type of the client */ - private static String keyStoreType = KeystoreUtils.StoreFileType.defaultFileType(); + @Deprecated + private static String keyStoreType = KeystoreUtils.getKeyStoreFileExtension( + MultitenantConstants.SUPER_TENANT_DOMAIN_NAME); /** * Default truststore type of the client */ @@ -291,10 +294,12 @@ public static String sendPostRequest(String backendURL, String message, Map