Skip to content

Commit bd90408

Browse files
committed
remove unwanted method.
1 parent 51aee18 commit bd90408

File tree

1 file changed

+0
-20
lines changed
  • components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/utils

1 file changed

+0
-20
lines changed

components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/utils/APIUtil.java

-20
Original file line numberDiff line numberDiff line change
@@ -8944,26 +8944,6 @@ private static String[] claimMappingtoClaimURIString(ClaimMapping[] claims) {
89448944
return temp;
89458945
}
89468946

8947-
/**
8948-
* Helper method to retrieve default key manager configuration for the given organization.
8949-
*
8950-
* @param organization Organization
8951-
* @return KeyManagerConfigurationDTO
8952-
* @throws APIManagementException if an error occurs while retrieving latest default key manager configs
8953-
*/
8954-
public static KeyManagerConfigurationDTO getDefaultKeyManagerConfiguration(String organization) throws
8955-
APIManagementException {
8956-
8957-
KeyManagerConfigurationDTO keyManagerConfiguration =
8958-
ApiMgtDAO.getInstance().getKeyManagerConfigurationByName(organization,
8959-
APIConstants.KeyManager.DEFAULT_KEY_MANAGER);
8960-
if (keyManagerConfiguration != null) {
8961-
APIUtil.getAndSetDefaultKeyManagerConfiguration(keyManagerConfiguration);
8962-
return keyManagerConfiguration;
8963-
}
8964-
return null;
8965-
}
8966-
89678947
public static KeyManagerConfigurationDTO getAndSetDefaultKeyManagerConfiguration(
89688948
KeyManagerConfigurationDTO keyManagerConfigurationDTO) throws APIManagementException {
89698949

0 commit comments

Comments
 (0)