Interface IAuthKeyDb
- All Known Implementing Classes:
 AuthKeyDb
public interface IAuthKeyDb
Authentication key database interface.
- Author:
 - Lorand Jakab
 
- 
Method Summary
Modifier and TypeMethodDescriptionvoidaddAuthenticationKey(Eid key, MappingAuthkey authKey) Add authentication key.getAuthenticationKey(Eid key) Retrieve authentication key.Print keys in cache in a human friendly format.Print authentication keys in database.voidRemove authentication key. 
- 
Method Details
- 
addAuthenticationKey
Add authentication key.- Parameters:
 key- The key for which the authentication key is addedauthKey- The authentication key
 - 
getAuthenticationKey
Retrieve authentication key.- Parameters:
 key- The key for which the authentication key is being looked up.- Returns:
 - The authentication key.
 
 - 
removeAuthenticationKey
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
 
 
 -