public class AliasProvider extends Provider
Provider.Servicedefaults| Constructor and Description |
|---|
AliasProvider()
Constructs the JSSE Provider instance
|
| Modifier and Type | Method and Description |
|---|---|
static void |
disable()
Disable the JSSE Provider - if it is registered, it will be removed from the
|
static void |
enable()
Enabled the JSSE Provider - registers it using Security.addProvideer(...)
|
static void |
setAlias(String alias)
Set the system property containing the alias of the key which should be used for authentication
|
static void |
setAsDefault()
Set the AliasKeyManager as the default one for the application.
|
static void |
unSetAlias()
Clear the system property containing the alias of the key which should be used for authentication
|
static void |
unsetAsDefault()
Return to the original KeyManager implementation which was default before the AliasKeyManager
|
clear, compute, computeIfAbsent, computeIfPresent, elements, entrySet, forEach, get, getInfo, getName, getOrDefault, getProperty, getService, getServices, getVersion, keys, keySet, load, merge, put, putAll, putIfAbsent, putService, remove, remove, removeService, replace, replace, replaceAll, toString, valuesgetProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNamesclone, contains, containsKey, containsValue, equals, hashCode, isEmpty, rehash, sizepublic static void enable()
public static void disable()
public static void setAsDefault()
public static void unsetAsDefault()
public static void setAlias(String alias)
alias - Alias of the prefered keypublic static void unSetAlias()
Copyright © 2016. All rights reserved.