Class ValidateUserInfoJSONObjectClaimsTest


  • public class ValidateUserInfoJSONObjectClaimsTest
    extends AbstractOIDCTest
    Tests for ValidateUserInfoJSONObjectClaims.
    • Field Detail

      • action

        private net.shibboleth.idp.plugin.authn.oidc.rp.impl.ValidateUserInfoJSONObjectClaims action
        The action to test
      • userInfoCtx

        private net.shibboleth.idp.plugin.authn.oidc.rp.context.UserInfoResponseContext userInfoCtx
      • accessTokenCtx

        private net.shibboleth.idp.plugin.authn.oidc.rp.context.AccessTokenResponseContext accessTokenCtx
    • Constructor Detail

      • ValidateUserInfoJSONObjectClaimsTest

        public ValidateUserInfoJSONObjectClaimsTest()
    • Method Detail

      • testValidate_Fail_NoTokenResponse

        public void testValidate_Fail_NoTokenResponse()
                                               throws Exception
        Throws:
        Exception
      • testValidate_Fail_NoTokenResponseContext

        public void testValidate_Fail_NoTokenResponseContext()
                                                      throws Exception
        Throws:
        Exception
      • testValidate_Fail_NoUserInfoResponseContext

        public void testValidate_Fail_NoUserInfoResponseContext()
                                                         throws Exception
        Throws:
        Exception
      • testValidate_Fail_NoUserInfo

        public void testValidate_Fail_NoUserInfo()
                                          throws Exception
        Throws:
        Exception
      • testValidate_Success

        public void testValidate_Success()
                                  throws Exception
        Throws:
        Exception
      • testValidate_Success_UserInfoJWT

        public void testValidate_Success_UserInfoJWT()
                                              throws Exception
        Throws:
        Exception
      • testValidate_Fail_SubDoesNotMatchIdToken_UserInfoJWT

        public void testValidate_Fail_SubDoesNotMatchIdToken_UserInfoJWT()
                                                                  throws Exception
        Throws:
        Exception
      • testValidate_Fail_SubDoesNotMatchIdToken

        public void testValidate_Fail_SubDoesNotMatchIdToken()
                                                      throws Exception
        Throws:
        Exception