Package org.soulwing.s2ks.spi
Interface KeyStorageProvider
-
public interface KeyStorageProviderA service provider interface forKeyStorage.- Author:
- Carl Harris
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeyStoragegetInstance(java.util.Properties properties)Gets a key storage instance from this provider.java.lang.StringgetName()Gets the name of this provider.booleanisMutable()Tests whether this provider supports theMutableKeyStorageinterface.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Gets the name of this provider.- Returns:
- provider name
-
isMutable
boolean isMutable()
Tests whether this provider supports theMutableKeyStorageinterface.- Returns:
trueif this provider supports the mutable API
-
getInstance
KeyStorage getInstance(java.util.Properties properties) throws java.lang.Exception
Gets a key storage instance from this provider.- Parameters:
properties- configuration properties- Returns:
- key storage instance
- Throws:
java.lang.Exception- to indicate that an instance could not be initialized
-
-