Package com.tangosol.net.ssl
Class EmptyKeyStoreLoader
- java.lang.Object
-
- com.tangosol.net.ssl.EmptyKeyStoreLoader
-
- All Implemented Interfaces:
KeyStoreLoader
public class EmptyKeyStoreLoader extends Object implements KeyStoreLoader
AKeyStoreLoaderthat loads an empty, non-password protectedKeyStore.- Since:
- 22.06
- Author:
- Jonathan Knight 2020.01.25
-
-
Field Summary
Fields Modifier and Type Field Description static KeyStoreLoaderINSTANCE
-
Constructor Summary
Constructors Constructor Description EmptyKeyStoreLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyStoreload(String sType, PasswordProvider password)Load a namedKeyStore.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.tangosol.net.ssl.KeyStoreLoader
createKeyStore, isEnabled, isRefreshable, load, load
-
-
-
-
Field Detail
-
INSTANCE
public static final KeyStoreLoader INSTANCE
-
-
Method Detail
-
load
public KeyStore load(String sType, PasswordProvider password) throws GeneralSecurityException, IOException
Description copied from interface:KeyStoreLoaderLoad a namedKeyStore.- Specified by:
loadin interfaceKeyStoreLoader- Parameters:
sType- theKeyStoretypepassword- an optionalPasswordProviderfor theKeyStorepassword- Returns:
- the
KeyStoreornullif no key could be loaded - Throws:
GeneralSecurityExceptionIOException
-
-