Class AbstractOIDCTokenResponseActionTest
- java.lang.Object
-
- net.shibboleth.idp.plugin.oidc.op.profile.impl.AbstractOIDCTokenResponseActionTest
-
public class AbstractOIDCTokenResponseActionTest extends Object
AbstractOIDCTokenResponseActionunit test.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) classAbstractOIDCTokenResponseActionTest.MockOIDCTokenResponseAction
-
Field Summary
Fields Modifier and Type Field Description private AbstractOIDCTokenResponseActionTest.MockOIDCTokenResponseActionactionprivate OIDCAuthenticationResponseContextoIDCAuthenticationResponseContextprivate net.shibboleth.oidc.metadata.context.OIDCMetadataContextoIDCMetadataContextprivate ProfileRequestContextprcprivate RequestContextrequestCtx
-
Constructor Summary
Constructors Constructor Description AbstractOIDCTokenResponseActionTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsetUp()voidtestNoMetadataContext()Test that the action functions properly if metadata context is missing.voidtestNoOidcResponseContext()Test that the action functions properly if there is no oidc response context.voidtestNoOutboundMessageContext()Test that the action functions properly if there is no outbound message context.voidtestSuccess()Test that the action functions properly in success case.
-
-
-
Field Detail
-
action
private AbstractOIDCTokenResponseActionTest.MockOIDCTokenResponseAction action
-
requestCtx
private RequestContext requestCtx
-
oIDCMetadataContext
private net.shibboleth.oidc.metadata.context.OIDCMetadataContext oIDCMetadataContext
-
oIDCAuthenticationResponseContext
private OIDCAuthenticationResponseContext oIDCAuthenticationResponseContext
-
prc
private ProfileRequestContext prc
-
-
Method Detail
-
setUp
@BeforeMethod protected void setUp() throws Exception
- Throws:
Exception
-
testNoOutboundMessageContext
public void testNoOutboundMessageContext() throws ExceptionTest that the action functions properly if there is no outbound message context.- Throws:
Exception
-
testNoOidcResponseContext
public void testNoOidcResponseContext() throws ExceptionTest that the action functions properly if there is no oidc response context.- Throws:
Exception
-
testNoMetadataContext
public void testNoMetadataContext() throws ExceptionTest that the action functions properly if metadata context is missing.- Throws:
Exception
-
-