public class DefaultSecureStorageProvider extends Object implements SecureStorageProvider
SecureStorageProvider.
Multiple SecureStorage instances can be provided, identified by a name.
| Constructor and Description |
|---|
DefaultSecureStorageProvider()
Creates a initially empty provider.
|
DefaultSecureStorageProvider(Map<String,SecureStorage> storages)
Creates a provider with some storages instances.
|
| Modifier and Type | Method and Description |
|---|---|
SecureStorage |
getSecureStorage(String name)
Returns the secure storage corresponding to the given name.
|
void |
registerSecureStorage(String name,
SecureStorage storage)
Register a storage with the given name.
|
public DefaultSecureStorageProvider()
public DefaultSecureStorageProvider(Map<String,SecureStorage> storages)
storages - The storage instances to use in the provider.public void registerSecureStorage(String name, SecureStorage storage)
name - Name associated to the storage instance.storage - The storage instance.public SecureStorage getSecureStorage(String name)
SecureStorageProvidergetSecureStorage in interface SecureStorageProvidername - The name of instance to retrieveCopyright © 2025 Open Identity Platform Community. All rights reserved.