Keyring backend which uses Freedesktop Secret service. Seems that concurrent reads/writes are unsafe. Not sure if a problem with the java libraries or the secret-service in dbus.
Maybe replace with https://specifications.freedesktop.org/secret-service/?| Modifier and Type | Field and Description |
|---|---|
| private final SimpleCollection |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | deletePassword(String
Service name service, String Account name account)Implements com. Delete password to key store. |
| private String | |
| private Map | |
| private List | |
| public String | Returns: Password related to specified service and accountService name service, String Account name account)Implements com. Gets password from key store. |
| public void | setPassword(String
Service name service, String Account name account, String Password password)Implements com. Sets password to key store. |
| private void | |
| private void |
| collection | back to summary |
|---|---|
| private final SimpleCollection collection | |
| FreedesktopKeyringBackend | back to summary |
|---|---|
| public FreedesktopKeyringBackend() throws BackendNotSupportedException | |
| close | back to summary |
|---|---|
| public void close() throws Exception Implements java. Closes the collection.
| |
| deletePassword | back to summary |
|---|---|
| public void deletePassword(String service, String account) throws PasswordAccessException Implements com. Delete password to key store.
| |
| getLabel | back to summary |
|---|---|
| private String getLabel(String service, String account) | |
| getMap | back to summary |
|---|---|
| private Map | |
| getObjectPaths | back to summary |
|---|---|
| private List | |
| getPassword | back to summary |
|---|---|
| public String getPassword(String service, String account) throws PasswordAccessException Implements com. Gets password from key store.
| |
| setPassword | back to summary |
|---|---|
| public void setPassword(String service, String account, String password) throws PasswordAccessException Implements com. Sets password to key store.
| |
| throwNoExistingCredentialException | back to summary |
|---|---|
| private void throwNoExistingCredentialException(String service, String account) throws PasswordAccessException | |
| throwTooManyCredentialsException | back to summary |
|---|---|
| private void throwTooManyCredentialsException(String service, String account) throws PasswordAccessException | |