@ContextConfiguration(locations="/spring/test-flow-beans.xml",
initializers=net.shibboleth.idp.spring.IdPPropertiesApplicationContextInitializer.class)
@WebAppConfiguration
@TestPropertySource(properties="idp.initializer.failFast = false")
public abstract class AbstractFlowActionTest
extends org.springframework.test.context.testng.AbstractTestNGSpringContextTests
| Modifier and Type | Field and Description |
|---|---|
private net.shibboleth.idp.cas.ticket.impl.TicketIdentifierGenerationStrategy |
proxyGrantingTicketGenerator |
private net.shibboleth.idp.cas.ticket.impl.TicketIdentifierGenerationStrategy |
proxyTicketGenerator |
private net.shibboleth.idp.cas.ticket.impl.TicketIdentifierGenerationStrategy |
serviceTicketGenerator |
protected static String |
TEST_PRINCIPAL_NAME |
protected static String |
TEST_SESSION_ID |
protected net.shibboleth.idp.cas.ticket.TicketServiceEx |
ticketService |
| 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 org.joda.time.Instant |
expiry() |
protected String |
generateProxyGrantingTicketId() |
protected String |
generateProxyTicketId() |
protected String |
generateServiceTicketId() |
protected static ProfileRequestContext |
getProfileContext(org.springframework.webflow.execution.RequestContext context) |
void |
initOpenSAML()
Initialize OpenSAML.
|
protected static net.shibboleth.idp.session.IdPSession |
mockSession(String sessionId,
boolean expiredFlag,
net.shibboleth.idp.authn.AuthenticationResult... results) |
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.TicketServiceEx ticketService
private net.shibboleth.idp.cas.ticket.impl.TicketIdentifierGenerationStrategy serviceTicketGenerator
private net.shibboleth.idp.cas.ticket.impl.TicketIdentifierGenerationStrategy proxyTicketGenerator
private net.shibboleth.idp.cas.ticket.impl.TicketIdentifierGenerationStrategy proxyGrantingTicketGenerator
protected static ProfileRequestContext getProfileContext(org.springframework.webflow.execution.RequestContext context)
protected static net.shibboleth.idp.session.IdPSession mockSession(String sessionId, boolean expiredFlag, net.shibboleth.idp.authn.AuthenticationResult... results)
protected static org.joda.time.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)
public void initOpenSAML()
throws InitializationException
InitializationExceptionCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.