Class DefaultAccessTokenResponseDecoderTest
- java.lang.Object
-
- net.shibboleth.idp.plugin.authn.oidc.rp.impl.AbstractOIDCTest
-
- net.shibboleth.idp.plugin.authn.oidc.rp.decoding.impl.DefaultAccessTokenResponseDecoderTest
-
public class DefaultAccessTokenResponseDecoderTest extends AbstractOIDCTest
Tests for the DefaultAccessTokenResponseDecoder.
-
-
Field Summary
Fields Modifier and Type Field Description private net.shibboleth.idp.plugin.authn.oidc.rp.decoding.impl.DefaultAccessTokenResponseDecoderdecoderThe encoder to test.-
Fields inherited from class net.shibboleth.idp.plugin.authn.oidc.rp.impl.AbstractOIDCTest
ac, ACCESS_TOKEN_RESPONSE, ACCESS_TOKEN_RESPONSE_NO_ACCESSTOKEN, ACCESS_TOKEN_RESPONSE_NO_IDTOKEN, authnRequest, CLIENT_METADATA, GOOD_PROVIDER_CONFIGURATION_INFO, partyConfig, peerEntityCtx, prc, providerCtx, rootPrc, src, TOKEN_RESPONSE_ERROR, USERINFO_RESPONSE, USERINFO_RESPONSE_JWE, USERINFO_RESPONSE_JWS
-
-
Constructor Summary
Constructors Constructor Description DefaultAccessTokenResponseDecoderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetup()Setup the various contexts.voidtestEncoder_InternalServerErrorResponse()voidtestEncoder_NoMessageEntity()voidtestEncoder_NullResponseFields()voidtestEncoder_Success()-
Methods inherited from class net.shibboleth.idp.plugin.authn.oidc.rp.impl.AbstractOIDCTest
convertHttpResponseToJSONObject
-
-
-
-
Method Detail
-
setup
@BeforeMethod public void setup() throws ExceptionDescription copied from class:AbstractOIDCTestSetup the various contexts.- Overrides:
setupin classAbstractOIDCTest- Throws:
Exception- on error
-
testEncoder_Success
public void testEncoder_Success() throws ComponentInitializationException, UnsupportedOperationException, IOException
-
testEncoder_NullResponseFields
public void testEncoder_NullResponseFields() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testEncoder_InternalServerErrorResponse
public void testEncoder_InternalServerErrorResponse() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testEncoder_NoMessageEntity
public void testEncoder_NoMessageEntity() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
-