Class AuthorizationCodeServiceTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class AuthorizationCodeServiceTest extends ServicelayerTransactionalTest
  • Constructor Details

    • AuthorizationCodeServiceTest

      public AuthorizationCodeServiceTest()
  • Method Details

    • tearDown

      public void tearDown()
    • testCorrectCodeUsage

      public void testCorrectCodeUsage() throws Exception
      Throws:
      Exception
    • testCodeUsedTwice

      public void testCodeUsedTwice() throws Exception
      Throws:
      Exception
    • testCodeStoredTwice

      public void testCodeStoredTwice() throws Exception
      Throws:
      Exception
    • testRemovedTwice

      public void testRemovedTwice() throws Exception
      Throws:
      Exception
    • testUseNonExistingCode

      public void testUseNonExistingCode() throws Exception
      Throws:
      Exception
    • shouldCreateAndRemoveIfCreatingSignatureForAuthorizationCodeIsEnabled

      public void shouldCreateAndRemoveIfCreatingSignatureForAuthorizationCodeIsEnabled()
    • shouldCreateAndRemoveIfCreatingSignatureForAuthorizationCodeIsDisabled

      public void shouldCreateAndRemoveIfCreatingSignatureForAuthorizationCodeIsDisabled()
    • shouldCreateAuthorizationCodeWithLengthOfConfiguredValue

      public void shouldCreateAuthorizationCodeWithLengthOfConfiguredValue()
    • shouldCreateAuthorizationCodeWithDefaultValue

      public void shouldCreateAuthorizationCodeWithDefaultValue()