public class EncodingTicketServiceTest extends Object
EncodingTicketService.| Modifier and Type | Field and Description |
|---|---|
private IdentifierGenerationStrategy |
pgtIdGenerator |
private SecureRandom |
secureRandom |
private IdentifierGenerationStrategy |
sessionIdGenerator |
private net.shibboleth.idp.cas.ticket.impl.EncodingTicketService |
ticketService |
| Constructor and Description |
|---|
EncodingTicketServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
private net.shibboleth.idp.cas.ticket.ProxyGrantingTicket |
newPGT(net.shibboleth.idp.cas.ticket.TicketState state,
String service) |
private net.shibboleth.idp.cas.ticket.TicketState |
newState(String principal) |
void |
setUp() |
void |
testCreateRemoveProxyTicketInvalid() |
void |
testCreateRemoveProxyTicketSuccess() |
void |
testCreateRemoveServiceTicketInvalid() |
void |
testCreateRemoveServiceTicketSuccess() |
void |
testCreateServiceTicketSuccessWithLongID() |
private net.shibboleth.idp.cas.ticket.impl.EncodingTicketService ticketService
private IdentifierGenerationStrategy sessionIdGenerator
private IdentifierGenerationStrategy pgtIdGenerator
private SecureRandom secureRandom
public void testCreateRemoveServiceTicketSuccess()
throws Exception
Exceptionpublic void testCreateRemoveServiceTicketInvalid()
throws Exception
Exceptionpublic void testCreateServiceTicketSuccessWithLongID()
throws Exception
Exceptionpublic void testCreateRemoveProxyTicketSuccess()
throws Exception
Exceptionpublic void testCreateRemoveProxyTicketInvalid()
throws Exception
Exceptionprivate net.shibboleth.idp.cas.ticket.TicketState newState(String principal)
private net.shibboleth.idp.cas.ticket.ProxyGrantingTicket newPGT(net.shibboleth.idp.cas.ticket.TicketState state,
String service)
Copyright © 1999–2020 Shibboleth Consortium. All rights reserved.