public class ReplayCacheTest extends Object
ReplayCache| Modifier and Type | Field and Description |
|---|---|
private String |
context |
private long |
expiration |
private String |
messageID |
private ReplayCache |
replayCache |
private org.opensaml.storage.impl.MemoryStorageService |
storageService |
| Constructor and Description |
|---|
ReplayCacheTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
protected void |
tearDown() |
void |
testInit() |
void |
testNonReplayDistinctIDs()
Test valid non-replayed message ID.
|
void |
testNonReplayEmptyCache()
Test valid non-replayed message ID.
|
void |
testNonReplayValidByMillisecondExpiriation()
Test valid replayed message ID, setting expiration by short duration.
|
void |
testReplay()
Test invalid replayed message ID, using replay cache default expiration duration.
|
private String context
private String messageID
private long expiration
private org.opensaml.storage.impl.MemoryStorageService storageService
private ReplayCache replayCache
protected void tearDown()
public void testInit()
public void testNonReplayEmptyCache()
public void testNonReplayDistinctIDs()
public void testReplay()
public void testNonReplayValidByMillisecondExpiriation()
throws InterruptedException
InterruptedExceptionCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.