Class ValidateOAuthAccessTokenResponseTest
- java.lang.Object
-
- net.shibboleth.idp.plugin.authn.oidc.rp.impl.AbstractOIDCTest
-
- net.shibboleth.idp.plugin.authn.oidc.rp.impl.ValidateOAuthAccessTokenResponseTest
-
public class ValidateOAuthAccessTokenResponseTest extends AbstractOIDCTest
Tests forValidateOAuthAccessTokenResponse.
-
-
Field Summary
Fields Modifier and Type Field Description private net.shibboleth.idp.plugin.authn.oidc.rp.impl.ValidateOAuthAccessTokenResponseactionThe action to test.-
Fields inherited from class net.shibboleth.idp.plugin.authn.oidc.rp.impl.AbstractOIDCTest
ac, ACCESS_TOKEN_RESPONSE, authnRequest, CLIENT_METADATA, GOOD_PROVIDER_CONFIGURATION_INFO, partyConfig, peerEntityCtx, prc, providerCtx, rootPrc, src, USERINFO_RESPONSE, USERINFO_RESPONSE_JWE, USERINFO_RESPONSE_JWS
-
-
Constructor Summary
Constructors Constructor Description ValidateOAuthAccessTokenResponseTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetup()Setup the various contexts.voidtestError_ErrorResponse()voidtestError_NoAccessToken()voidtestError_NoIDToken()voidtestError_NoRawTokenResponse()voidtestError_NoTokenType()voidtestError_WrongTokenType()voidtestSuccesfulTokenResponse()
-
-
-
Method Detail
-
setup
@BeforeMethod public void setup() throws ExceptionDescription copied from class:AbstractOIDCTestSetup the various contexts.- Overrides:
setupin classAbstractOIDCTest- Throws:
Exception- on error
-
testSuccesfulTokenResponse
public void testSuccesfulTokenResponse() throws Exception- Throws:
Exception
-
testError_NoRawTokenResponse
public void testError_NoRawTokenResponse() throws Exception- Throws:
Exception
-
-