public class SecretInformationFactory
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static SecretInformation |
createSecretInformation(java.util.Properties properties,
java.lang.String configurationPrefix,
java.lang.String passwordPrompt)
Factory method to create a SecretInformation instance based on the given properties
|
static SecretInformation |
createSecretInformation(java.lang.String secretProvider,
java.lang.String aliasPassword,
java.lang.String passwordPrompt)
Factory method to create a SecretInformation instance based on the given information
|
public static SecretInformation createSecretInformation(java.util.Properties properties, java.lang.String configurationPrefix, java.lang.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(java.lang.String secretProvider, java.lang.String aliasPassword, java.lang.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-2021 Apache Software Foundation. All Rights Reserved.