Package net.shibboleth.idp.cas.flow.impl
Class ValidateProxyCallbackActionTest
- java.lang.Object
-
- org.springframework.test.context.testng.AbstractTestNGSpringContextTests
-
- net.shibboleth.idp.cas.flow.impl.AbstractFlowActionTest
-
- net.shibboleth.idp.cas.flow.impl.ValidateProxyCallbackActionTest
-
- All Implemented Interfaces:
Aware,ApplicationContextAware,org.testng.IHookable,org.testng.ITestNGListener
public class ValidateProxyCallbackActionTest extends AbstractFlowActionTest
Unit test forValidateProxyCallbackAction.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.shibboleth.idp.cas.flow.impl.AbstractFlowActionTest
AbstractFlowActionTest.MockDataSealerKeyStrategy
-
-
Field Summary
-
Fields inherited from class net.shibboleth.idp.cas.flow.impl.AbstractFlowActionTest
TEST_PRINCIPAL_NAME, TEST_SESSION_ID, ticketService
-
Fields inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests
applicationContext, logger
-
-
Constructor Summary
Constructors Constructor Description ValidateProxyCallbackActionTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static net.shibboleth.idp.cas.proxy.ProxyValidatormockProxyAuthenticator(Exception toBeThrown)private static RequestContextnewRequestContext(String pgtURL)voidtestValidateProxyFailure()voidtestValidateProxySuccess()-
Methods inherited from class net.shibboleth.idp.cas.flow.impl.AbstractFlowActionTest
createProxyGrantingTicket, createProxyGrantingTicket, createProxyTicket, createServiceTicket, expiry, generateProxyGrantingTicketId, generateProxyTicketId, generateServiceTicketId, getProfileContext, initOpenSAML, mockSession
-
Methods inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests
run, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstance
-
-
-
-
Method Detail
-
mockProxyAuthenticator
private static net.shibboleth.idp.cas.proxy.ProxyValidator mockProxyAuthenticator(Exception toBeThrown) throws Exception
- Throws:
Exception
-
newRequestContext
private static RequestContext newRequestContext(String pgtURL)
-
-