public class TicketIdentifierGenerationStrategyTest extends Object
TicketIdentifierGenerationStrategy.| Modifier and Type | Field and Description |
|---|---|
private static Pattern |
TICKET_REGEX |
| Constructor and Description |
|---|
TicketIdentifierGenerationStrategyTest() |
| Modifier and Type | Method and Description |
|---|---|
Object[][] |
provideBadPrefixSuffix() |
Object[][] |
provideGenerators() |
void |
testConcurrentGeneration() |
void |
testGenerate(net.shibboleth.idp.cas.ticket.impl.TicketIdentifierGenerationStrategy generator,
String expectedPrefix,
int expectedRandomLength,
String expectedSuffix) |
void |
testUrlSafety(String prefix,
String suffix) |
private static final Pattern TICKET_REGEX
public TicketIdentifierGenerationStrategyTest()
public Object[][] provideGenerators()
public Object[][] provideBadPrefixSuffix()
public void testGenerate(net.shibboleth.idp.cas.ticket.impl.TicketIdentifierGenerationStrategy generator,
String expectedPrefix,
int expectedRandomLength,
String expectedSuffix)
throws Exception
ExceptionCopyright © 1999–2015. All rights reserved.