Class OAuth2AssertionStrategyTest

    • Constructor Detail

      • OAuth2AssertionStrategyTest

        public OAuth2AssertionStrategyTest()
    • Method Detail

      • setUp

        public void setUp()
      • testAuthTypeIsAssertion

        public void testAuthTypeIsAssertion()
      • testConstructorWithAdditionalParams

        public void testConstructorWithAdditionalParams()
      • testValidateCredentialsFailsWithNullClientId

        public void testValidateCredentialsFailsWithNullClientId()
      • testValidateCredentialsFailsWithNullUserId

        public void testValidateCredentialsFailsWithNullUserId()
      • testValidateCredentialsFailsWithNullPrivateKey

        public void testValidateCredentialsFailsWithNullPrivateKey()
      • testValidateCredentialsFailsWithNullGrantType

        public void testValidateCredentialsFailsWithNullGrantType()
      • testValidateCredentialsSucceedsWithNullCompanyId

        public void testValidateCredentialsSucceedsWithNullCompanyId()
      • testPrepareTokenRequestParams

        public void testPrepareTokenRequestParams()
                                           throws Exception
        Throws:
        Exception
      • testPrepareTokenRequestParamsWithoutCompanyId

        public void testPrepareTokenRequestParamsWithoutCompanyId()
                                                           throws Exception
        Throws:
        Exception
      • testRefreshCredentialsWithEmptyAssertion

        public void testRefreshCredentialsWithEmptyAssertion()
      • testApplyAuthHeadersWithToken

        public void testApplyAuthHeadersWithToken()
      • testNeedsTokenRefresh

        public void testNeedsTokenRefresh()
                                   throws Exception
        Throws:
        Exception