@ContextConfiguration(locations="/spring/test-flow-beans.xml", initializers=net.shibboleth.idp.spring.IdPPropertiesApplicationContextInitializer.class) @WebAppConfiguration public abstract class AbstractFlowActionTest extends AbstractTestNGSpringContextTests
| Modifier and Type | Field and Description |
|---|---|
private net.shibboleth.idp.cas.ticket.TicketIdentifierGenerationStrategy |
proxyGrantingTicketGenerator |
private net.shibboleth.idp.cas.ticket.TicketIdentifierGenerationStrategy |
proxyTicketGenerator |
private net.shibboleth.idp.cas.ticket.TicketIdentifierGenerationStrategy |
serviceTicketGenerator |
protected static String |
TEST_PRINCIPAL_NAME |
protected static String |
TEST_SESSION_ID |
protected net.shibboleth.idp.cas.ticket.TicketService |
ticketService |
applicationContext, logger| Constructor and Description |
|---|
AbstractFlowActionTest() |
| Modifier and Type | Method and Description |
|---|---|
protected net.shibboleth.idp.cas.ticket.ProxyGrantingTicket |
createProxyGrantingTicket(net.shibboleth.idp.cas.ticket.ProxyTicket pt) |
protected net.shibboleth.idp.cas.ticket.ProxyGrantingTicket |
createProxyGrantingTicket(net.shibboleth.idp.cas.ticket.ServiceTicket st) |
protected net.shibboleth.idp.cas.ticket.ProxyTicket |
createProxyTicket(net.shibboleth.idp.cas.ticket.ProxyGrantingTicket pgt,
String service) |
protected net.shibboleth.idp.cas.ticket.ServiceTicket |
createServiceTicket(String service,
boolean renew) |
protected static Instant |
expiry() |
protected String |
generateProxyGrantingTicketId() |
protected String |
generateProxyTicketId() |
protected String |
generateServiceTicketId() |
protected static org.opensaml.profile.context.ProfileRequestContext |
getProfileContext(org.springframework.webflow.execution.RequestContext context) |
protected static net.shibboleth.idp.session.IdPSession |
mockSession(String sessionId,
boolean expiredFlag) |
run, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstanceprotected static final String TEST_SESSION_ID
protected static final String TEST_PRINCIPAL_NAME
@Autowired protected net.shibboleth.idp.cas.ticket.TicketService ticketService
private net.shibboleth.idp.cas.ticket.TicketIdentifierGenerationStrategy serviceTicketGenerator
private net.shibboleth.idp.cas.ticket.TicketIdentifierGenerationStrategy proxyTicketGenerator
private net.shibboleth.idp.cas.ticket.TicketIdentifierGenerationStrategy proxyGrantingTicketGenerator
protected static org.opensaml.profile.context.ProfileRequestContext getProfileContext(org.springframework.webflow.execution.RequestContext context)
protected static net.shibboleth.idp.session.IdPSession mockSession(String sessionId, boolean expiredFlag)
protected static Instant expiry()
protected String generateServiceTicketId()
protected String generateProxyTicketId()
protected String generateProxyGrantingTicketId()
protected net.shibboleth.idp.cas.ticket.ServiceTicket createServiceTicket(String service, boolean renew)
protected net.shibboleth.idp.cas.ticket.ProxyTicket createProxyTicket(net.shibboleth.idp.cas.ticket.ProxyGrantingTicket pgt,
String service)
protected net.shibboleth.idp.cas.ticket.ProxyGrantingTicket createProxyGrantingTicket(net.shibboleth.idp.cas.ticket.ServiceTicket st)
protected net.shibboleth.idp.cas.ticket.ProxyGrantingTicket createProxyGrantingTicket(net.shibboleth.idp.cas.ticket.ProxyTicket pt)
Copyright © 1999–2015. All rights reserved.