|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecretStorage
Provides methods used by the LicenseHost to load and store miscellaneous properties in a secret and safe manner
Nested Class Summary | |
---|---|
static interface |
SecretStorage.Provider
Allows creation of secret storage instances of certain type |
Method Summary | |
---|---|
java.lang.String |
getProperty(java.lang.String key)
Gets property value by its key |
java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaultValue)
Gets property value by its key |
void |
load()
Loads the storage from some persistent state |
void |
save()
Saves the storage to some persistent state |
java.lang.Object |
setProperty(java.lang.String key,
java.lang.String value)
Specifies property value for the given key |
Method Detail |
---|
java.lang.String getProperty(java.lang.String key)
key
- identifies value to return
java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
key
- identifies value to be returndefaultValue
- a value should be returned if there is no value for the given key
java.lang.Object setProperty(java.lang.String key, java.lang.String value)
key
- identifies value to specifyvalue
- value to be associated with the key
void load()
void save()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |