protected void handleCallback()

in src/main/java/software/amazon/msk/auth/iam/IAMClientCallbackHandler.java [94:103]


    protected void handleCallback(AWSCredentialsCallback callback) throws IOException {
        if (log.isDebugEnabled()) {
            log.debug("Selecting provider {} to load credentials", provider.getClass().getName());
        }
        try {
            callback.setAwsCredentials(provider.resolveCredentials());
        } catch (Exception e) {
            callback.setLoadingException(e);
        }
    }