public class JavaHLAuthenticationStorage extends java.lang.Object implements ISVNAuthenticationStorage
Modifier and Type | Field and Description |
---|---|
private java.util.Map |
myStorage |
Constructor and Description |
---|
JavaHLAuthenticationStorage() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
java.lang.Object |
getData(java.lang.String kind,
java.lang.String realm)
Retrieves a cached credential of the specified kind for the
given repository authentication realm from the auth storage.
|
void |
putData(java.lang.String kind,
java.lang.String realm,
java.lang.Object data)
Caches a credential of the specified kind for the given repository
authentication realm in the auth storage.
|
public void putData(java.lang.String kind, java.lang.String realm, java.lang.Object data)
ISVNAuthenticationStorage
putData
in interface ISVNAuthenticationStorage
kind
- a credential kind (for example, like those defined in
ISVNAuthenticationManager
)realm
- a repository authentication realm including a hostname,
a port number and a realm stringdata
- a credential objectpublic java.lang.Object getData(java.lang.String kind, java.lang.String realm)
ISVNAuthenticationStorage
getData
in interface ISVNAuthenticationStorage
kind
- a credential kind (for example, like those defined in
ISVNAuthenticationManager
)realm
- a repository authentication realm including a hostname,
a port number and a realm stringpublic void clear()