Class SetSectorIdentifierForAttributeResolutionTest
- java.lang.Object
-
- org.opensaml.core.testing.OpenSAMLInitBaseTestCase
-
- net.shibboleth.idp.plugin.oidc.op.profile.impl.BaseOIDCResponseActionTest
-
- net.shibboleth.idp.plugin.oidc.op.profile.impl.SetSectorIdentifierForAttributeResolutionTest
-
public class SetSectorIdentifierForAttributeResolutionTest extends BaseOIDCResponseActionTest
SetSectorIdentifierForAttributeResolutionunit test.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.shibboleth.idp.plugin.oidc.op.profile.impl.BaseOIDCResponseActionTest
BaseOIDCResponseActionTest.MockRevocationCache
-
-
Field Summary
Fields Modifier and Type Field Description private net.shibboleth.idp.plugin.oidc.op.profile.impl.SetSectorIdentifierForAttributeResolutionactionBean to test.-
Fields inherited from class net.shibboleth.idp.plugin.oidc.op.profile.impl.BaseOIDCResponseActionTest
clientId, credentialEC256, credentialEC384, credentialEC521, credentialHMAC, credentialRSA, idGenerator, metadataCtx, profileRequestCtx, request, requestCtx, respCtx, rpCtx, subject
-
-
Constructor Summary
Constructors Constructor Description SetSectorIdentifierForAttributeResolutionTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidinit()voidtestFailPairwiseNoSectorIdentifier()Test that action sets the attribute recipient group as host part of redirect uri (in this case).voidtestNullStrategySectorIdentifier()Test setting null strategy for sector identifier.voidtestNullStrategySubjectType()Test setting null strategy for subject type.voidtestSuccessPairwise()Test that action sets the attribute recipient group as host part of redirect uri (in this case).voidtestSuccessPublic()Test that action sets the attribute recipient group as public.-
Methods inherited from class net.shibboleth.idp.plugin.oidc.op.profile.impl.BaseOIDCResponseActionTest
addEntryToMap, getDataSealer, initializeDataSealer, setAuthenticationRequest, setIdTokenToResponseContext, setTokenRequest, setUp, setUserInfoRequest, setUserInfoResponseToResponseContext, signIdTokenInResponseContext, signUserInfoResponseInResponseContext
-
-
-
-
Method Detail
-
init
@BeforeMethod private void init() throws ComponentInitializationException, URISyntaxException
-
testSuccessPublic
public void testSuccessPublic() throws ComponentInitializationExceptionTest that action sets the attribute recipient group as public.- Throws:
ComponentInitializationException- on error
-
testSuccessPairwise
public void testSuccessPairwise() throws ComponentInitializationExceptionTest that action sets the attribute recipient group as host part of redirect uri (in this case).- Throws:
ComponentInitializationException- on error
-
testFailPairwiseNoSectorIdentifier
public void testFailPairwiseNoSectorIdentifier() throws ComponentInitializationExceptionTest that action sets the attribute recipient group as host part of redirect uri (in this case).- Throws:
ComponentInitializationException- on error
-
testNullStrategySectorIdentifier
public void testNullStrategySectorIdentifier()
Test setting null strategy for sector identifier.
-
testNullStrategySubjectType
public void testNullStrategySubjectType()
Test setting null strategy for subject type.
-
-