}
return secretResolver;
}
private static void initPasswordManager(SecretResolver secretResolver, String provider) {
SecretCallbackHandler callbackHandler =
SecretCallbackHandlerFactory.createSecretCallbackHandler(provider);
if (callbackHandler != null) {
secretResolver.init(callbackHandler);
}
}