All Known Implementing Classes:
AuthKeyDb

public interface IAuthKeyDb
Authentication key database interface.
Author:
Lorand Jakab
  • Method Details

    • addAuthenticationKey

      void addAuthenticationKey(Eid key, MappingAuthkey authKey)
      Add authentication key.
      Parameters:
      key - The key for which the authentication key is added
      authKey - The authentication key
    • getAuthenticationKey

      MappingAuthkey getAuthenticationKey(Eid key)
      Retrieve authentication key.
      Parameters:
      key - The key for which the authentication key is being looked up.
      Returns:
      The authentication key.
    • removeAuthenticationKey

      void removeAuthenticationKey(Eid key)
      Remove authentication key.
      Parameters:
      key - Key for which the authentication key should be removed.
    • printKeys

      String printKeys()
      Print authentication keys in database. Used for testing, debugging and the karaf shell.
      Returns:
      a String consisting of all the authentication keys in the database
    • prettyPrintKeys

      String prettyPrintKeys()
      Print keys in cache in a human friendly format.
      Returns:
      a String consisting of all the keys in the cache