Class JavaHLAuthenticationStorage

java.lang.Object
org.tmatesoft.svn.core.javahl.JavaHLAuthenticationStorage
All Implemented Interfaces:
ISVNAuthenticationStorage

public class JavaHLAuthenticationStorage extends java.lang.Object implements ISVNAuthenticationStorage
Version:
1.3
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private java.util.Map
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • myStorage

      private java.util.Map myStorage
  • Constructor Details

    • JavaHLAuthenticationStorage

      public JavaHLAuthenticationStorage()
  • Method Details

    • putData

      public void putData(java.lang.String kind, java.lang.String realm, java.lang.Object data)
      Description copied from interface: ISVNAuthenticationStorage
      Caches a credential of the specified kind for the given repository authentication realm in the auth storage.
      Specified by:
      putData in interface ISVNAuthenticationStorage
      Parameters:
      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 string
      data - a credential object
    • getData

      public java.lang.Object getData(java.lang.String kind, java.lang.String realm)
      Description copied from interface: ISVNAuthenticationStorage
      Retrieves a cached credential of the specified kind for the given repository authentication realm from the auth storage.
      Specified by:
      getData in interface ISVNAuthenticationStorage
      Parameters:
      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 string
      Returns:
      a credential object
    • clear

      public void clear()