Class RevokeConsentTest
- 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.RevokeConsentTest
-
public class RevokeConsentTest extends BaseOIDCResponseActionTest
RevokeConsentunit 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.RevokeConsentaction-
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 RevokeConsentTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidinit()voidtestNoRevocationCache()Test that action revokes consent for prompt = consent.voidtestNotRevoked()Test that action does nothing if offline_access or prompt=consent are not set.voidtestNullStrategy()Test that action does not accept null strategyvoidtestRevokeOfflineAccess()Test that action revokes consent for offline_access.-
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
- Throws:
ComponentInitializationException
-
testNotRevoked
public void testNotRevoked() throws NoSuchAlgorithmException, ComponentInitializationExceptionTest that action does nothing if offline_access or prompt=consent are not set.
-
testRevokeOfflineAccess
public void testRevokeOfflineAccess() throws NoSuchAlgorithmException, ComponentInitializationExceptionTest that action revokes consent for offline_access.
-
testNoRevocationCache
public void testNoRevocationCache() throws NoSuchAlgorithmException, ComponentInitializationExceptionTest that action revokes consent for prompt = consent.
-
testNullStrategy
public void testNullStrategy() throws NoSuchAlgorithmException, ComponentInitializationExceptionTest that action does not accept null strategy
-
-