Class AbstractKeyInSessionCryptFactory<T extends IClusterable>

    • Method Detail

      • newCrypt

        public ICrypt newCrypt()
        Creates a new crypt for the current user session. If no user session is available, a new one is created.
        Specified by:
        newCrypt in interface ICryptFactory
      • generateKey

        protected abstract T generateKey​(Session session)
        Generates the secret key for a new crypt.
        session - the current user session where crypt will be stored
        the secret key for a new crypt