Distribute authentication state amongst the cluster
Change-Id: I63f36b3e2e5830241a2cb4e1c084d9e214995d2b
diff --git a/api/src/main/java/org/opencord/aaa/AuthenticationService.java b/api/src/main/java/org/opencord/aaa/AuthenticationService.java
index c474203..3399966 100644
--- a/api/src/main/java/org/opencord/aaa/AuthenticationService.java
+++ b/api/src/main/java/org/opencord/aaa/AuthenticationService.java
@@ -19,8 +19,6 @@
import org.onlab.packet.MacAddress;
import org.onosproject.event.ListenerService;
-import java.util.List;
-
/**
* Service for interacting with authentication state.
*/
@@ -32,13 +30,13 @@
*
* @return list of authentication records
*/
- List<AuthenticationRecord> getAuthenticationRecords();
+ Iterable<AuthenticationRecord> getAuthenticationRecords();
/**
* Removes an authentication record.
*
* @param mac MAC address of record to remove
- * @return true if a record was remove, otherwise false
+ * @return true if a record was removed, otherwise false
*/
boolean removeAuthenticationStateByMac(MacAddress mac);