Package ninja.utils

Class CookieEncryptionTest


  • public class CookieEncryptionTest
    extends Object
    • Constructor Detail

      • CookieEncryptionTest

        public CookieEncryptionTest()
    • Method Detail

      • testThatEncryptionAndDecryptionWorksWhenEnabled

        public void testThatEncryptionAndDecryptionWorksWhenEnabled()
      • testThatEncryptionDoesNotDoAnythingWhenDisabled

        public void testThatEncryptionDoesNotDoAnythingWhenDisabled()
      • testThatEncryptionFailsWhenSecretEmpty

        public void testThatEncryptionFailsWhenSecretEmpty()
      • testThatEncryptionFailsWhenSecretTooSmall

        public void testThatEncryptionFailsWhenSecretTooSmall()