Class SubjectActivationConditionTest
- java.lang.Object
-
- net.shibboleth.idp.plugin.oidc.op.profile.logic.SubjectActivationConditionTest
-
public class SubjectActivationConditionTest extends Object
SubjectActivationConditionunit test.
-
-
Field Summary
Fields Modifier and Type Field Description private net.shibboleth.idp.plugin.oidc.op.profile.logic.SubjectActivationConditionlookupprotected ProfileRequestContextprcprotected OIDCAuthenticationResponseContextrespCtx
-
Constructor Summary
Constructors Constructor Description SubjectActivationConditionTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetup()voidtestNoOIDCResponseCtx()Test that activation condition returns true if there is no oidc response context.voidtestNoOutboundCtx()Test that activation condition returns true if there is no outbound msg ctx.voidtestNoSubject()Test that activation condition returns true if subject does not exists in response context.voidtestSubjectExists()Test that activation condition returns false if subject exists in response context.
-
-
-
Field Detail
-
lookup
private net.shibboleth.idp.plugin.oidc.op.profile.logic.SubjectActivationCondition lookup
-
prc
protected ProfileRequestContext prc
-
respCtx
protected OIDCAuthenticationResponseContext respCtx
-
-
Method Detail
-
setup
@BeforeMethod public void setup() throws ComponentInitializationException
- Throws:
ComponentInitializationException
-
testSubjectExists
public void testSubjectExists()
Test that activation condition returns false if subject exists in response context.
-
testNoSubject
public void testNoSubject()
Test that activation condition returns true if subject does not exists in response context.
-
testNoOIDCResponseCtx
public void testNoOIDCResponseCtx()
Test that activation condition returns true if there is no oidc response context.
-
testNoOutboundCtx
public void testNoOutboundCtx()
Test that activation condition returns true if there is no outbound msg ctx.
-
-