Class VerifyRequestedSubjectIdentifierTest
- 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.VerifyRequestedSubjectIdentifierTest
-
public class VerifyRequestedSubjectIdentifierTest extends BaseOIDCResponseActionTest
VerifyRequestedSubjectIdentifierunit 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.VerifyRequestedSubjectIdentifieraction-
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 VerifyRequestedSubjectIdentifierTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidinit()voidtestNoGenSubject()Test action handles not having generated subject set correctly.voidtestNoMismatchSubject()Test action handles not having matching generated subject set correctly.voidtestSuccess()Test action handles having matching generated subject set correctly.voidtestSuccessNoReqSubject()Test action handles not having requested subject correctly.-
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
private void init() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testSuccessNoReqSubject
public void testSuccessNoReqSubject() throws ComponentInitializationExceptionTest action handles not having requested subject correctly.- Throws:
ComponentInitializationException
-
testNoGenSubject
public void testNoGenSubject() throws ComponentInitializationExceptionTest action handles not having generated subject set correctly.- Throws:
ComponentInitializationException
-
testNoMismatchSubject
public void testNoMismatchSubject() throws ComponentInitializationExceptionTest action handles not having matching generated subject set correctly.- Throws:
ComponentInitializationException
-
testSuccess
public void testSuccess() throws ComponentInitializationExceptionTest action handles having matching generated subject set correctly.- Throws:
ComponentInitializationException
-
-