Thank u for replying.
I debug this code further but seems like it is not behaving as expected. The debug point is going in this method but it is not validating more than one call, it is behaving based on getNotOnOrAfter value.
Do I need to enable anything at SP side to get it work?
It is always going in entry==null check, even I am submitting the same SAML respone multiple times and able to proceed.
======================== ReplayCache (check) method============
final StorageRecord entry = storage.read(context, key);
if (entry == null) {
log.debug("Value '{}' was not a replay, adding to cache with expiration time {}", s, expires);
storage.create(context, key, "x", expires);
return true;
Thanks & Regards,
Naveen Kumar