Package org.tmatesoft.svn.core.javahl17
Class JavaHLAuthenticationStorage
- java.lang.Object
-
- org.tmatesoft.svn.core.javahl17.JavaHLAuthenticationStorage
-
- All Implemented Interfaces:
ISVNAuthenticationStorage
public class JavaHLAuthenticationStorage extends java.lang.Object implements ISVNAuthenticationStorage
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,java.lang.Object>myStorage
-
Constructor Summary
Constructors Constructor Description JavaHLAuthenticationStorage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()java.lang.ObjectgetData(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.voidputData(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.
-
-
-
Method Detail
-
putData
public void putData(java.lang.String kind, java.lang.String realm, java.lang.Object data)Description copied from interface:ISVNAuthenticationStorageCaches a credential of the specified kind for the given repository authentication realm in the auth storage.- Specified by:
putDatain interfaceISVNAuthenticationStorage- Parameters:
kind- a credential kind (for example, like those defined inISVNAuthenticationManager)realm- a repository authentication realm including a hostname, a port number and a realm stringdata- a credential object
-
getData
public java.lang.Object getData(java.lang.String kind, java.lang.String realm)Description copied from interface:ISVNAuthenticationStorageRetrieves a cached credential of the specified kind for the given repository authentication realm from the auth storage.- Specified by:
getDatain interfaceISVNAuthenticationStorage- Parameters:
kind- a credential kind (for example, like those defined inISVNAuthenticationManager)realm- a repository authentication realm including a hostname, a port number and a realm string- Returns:
- a credential object
-
clear
public void clear()
-
-