public class SecretInformationFactory extends Object
Modifier and Type | Method and Description |
---|---|
static SecretInformation |
createSecretInformation(Properties properties,
String configurationPrefix,
String passwordPrompt)
Factory method to create a SecretInformation instance based on the given properties
|
static SecretInformation |
createSecretInformation(String secretProvider,
String aliasPassword,
String passwordPrompt)
Factory method to create a SecretInformation instance based on the given information
|
public static SecretInformation createSecretInformation(Properties properties, String configurationPrefix, String passwordPrompt)
properties
- Properties to create a SecretInformationconfigurationPrefix
- The configuration prefix to usepasswordPrompt
- A specific password prompt to use
(only for interactive authentication providers)public static SecretInformation createSecretInformation(String secretProvider, String aliasPassword, String passwordPrompt)
secretProvider
- A SecretCallbackHandler implementation to use to get secretsaliasPassword
- The alias passwordpasswordPrompt
- A specific password prompt to use
(only for interactive authentication providers)Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.