public class SecretCallbackHandlerFactory extends Object
| Constructor and Description |
|---|
SecretCallbackHandlerFactory() |
| Modifier and Type | Method and Description |
|---|---|
static SecretCallbackHandler |
createSecretCallbackHandler(Properties properties,
String key)
Creates a SecretCallbackHandler instance based on given properties
At future , can extend this , if SecretCallbackHandler instance need
some data in the initialization
|
static SecretCallbackHandler |
createSecretCallbackHandler(String provider)
Creates a SecretCallbackHandler instance based on provided class
|
public static SecretCallbackHandler createSecretCallbackHandler(Properties properties, String key)
properties - properties contains some information about how to create a SecretCallbackHandlerkey - use for getting related properties out of all propertiespublic static SecretCallbackHandler createSecretCallbackHandler(String provider)
provider - provider class nameCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.