Class LispNoAuthentication
- java.lang.Object
-
- org.opendaylight.lispflowmapping.lisp.authentication.LispNoAuthentication
-
- All Implemented Interfaces:
ILispAuthentication
public final class LispNoAuthentication extends java.lang.Object implements ILispAuthentication
-
-
Field Summary
-
Fields inherited from interface org.opendaylight.lispflowmapping.lisp.authentication.ILispAuthentication
MAP_REGISTER_AND_NOTIFY_AUTHENTICATION_POSITION
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getAuthenticationData(java.nio.ByteBuffer buffer, java.lang.String key)
int
getAuthenticationLength()
static LispNoAuthentication
getInstance()
boolean
validate(java.nio.ByteBuffer mapRegisterBuffer, byte[] expectedAuthData, java.lang.String key)
-
-
-
Method Detail
-
getInstance
public static LispNoAuthentication getInstance()
-
getAuthenticationLength
public int getAuthenticationLength()
- Specified by:
getAuthenticationLength
in interfaceILispAuthentication
-
getAuthenticationData
public byte[] getAuthenticationData(java.nio.ByteBuffer buffer, java.lang.String key)
- Specified by:
getAuthenticationData
in interfaceILispAuthentication
-
validate
public boolean validate(java.nio.ByteBuffer mapRegisterBuffer, byte[] expectedAuthData, java.lang.String key)
- Specified by:
validate
in interfaceILispAuthentication
-
-