public class AuthKeyDb extends Object implements IAuthKeyDb
| Modifier and Type | Method and Description |
|---|---|
void |
addAuthenticationKey(Eid eid,
MappingAuthkey authKey)
Add authentication key.
|
MappingAuthkey |
getAuthenticationKey(Eid eid)
Retrieve authentication key.
|
String |
prettyPrintKeys()
Print keys in cache in a human friendly format.
|
String |
printKeys()
Print authentication keys in database.
|
void |
removeAuthenticationKey(Eid eid)
Remove authentication key.
|
public AuthKeyDb(ILispDAO dao)
public void addAuthenticationKey(Eid eid, MappingAuthkey authKey)
IAuthKeyDbaddAuthenticationKey in interface IAuthKeyDbeid - The key for which the authentication key is addedauthKey - The authentication keypublic MappingAuthkey getAuthenticationKey(Eid eid)
IAuthKeyDbgetAuthenticationKey in interface IAuthKeyDbeid - The key for which the authentication key is being looked up.public void removeAuthenticationKey(Eid eid)
IAuthKeyDbremoveAuthenticationKey in interface IAuthKeyDbeid - Key for which the authentication key should be removed.public String printKeys()
IAuthKeyDbprintKeys in interface IAuthKeyDbpublic String prettyPrintKeys()
IAuthKeyDbprettyPrintKeys in interface IAuthKeyDbCopyright © 2019 OpenDaylight. All rights reserved.