Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for encrypted (0.07 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            assertNotNull(cryptographer);
    
            String plainText = "Hello, World!";
            String encrypted = cryptographer.encrypt(plainText);
            assertNotNull(encrypted);
            assertFalse(plainText.equals(encrypted));
    
            String decrypted = cryptographer.decrypt(encrypted);
            assertEquals(plainText, decrypted);
        }
    
        public void test_invertibleCryptography_withEmptyString() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            Set<String> roleSet;
            boolean encrypted;
            String value;
    
            encrypted = false;
            value = "";
            roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted);
            assertEquals(0, roleSet.size());
    
            encrypted = false;
            value = "role1";
            roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted);
            assertEquals(0, roleSet.size());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

            String value;
            String result;
    
            // Test with already encrypted values (using valid hex)
            value = "password={cipher}5691346cc398a4450114883140fa84a7";
            result = ParameterUtil.encrypt(value);
            assertEquals("password={cipher}5691346cc398a4450114883140fa84a7", result);
    
            // Test with mixed encrypted and unencrypted
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

            deleteUserCodeFromCookie(request);
            return userCode;
        }
    
        /**
         * Creates an encrypted user code from a user ID.
         * The user ID is encrypted using the primary cipher and validated against the configuration.
         *
         * @param userCode the raw user ID to encrypt
         * @return the encrypted and validated user code, or null if invalid
         */
        protected String createUserCodeFromUserId(String userCode) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/crypto/CachedCipher.java

        /**
         * Encrypts the given data.
         *
         * @param data
         *            the data to encrypt
         * @return the encrypted data
         */
        public byte[] encrypto(final byte[] data) {
            final Cipher cipher = pollEncryptoCipher();
            byte[] encrypted;
            try {
                encrypted = cipher.doFinal(data);
            } catch (final IllegalBlockSizeException e) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

         * Parses the role set from a string.
         * @param value The string to parse.
         * @param encrypted Whether the string is encrypted.
         * @param roleSet The set of roles.
         */
        protected void parseRoleSet(final String value, final boolean encrypted, final Set<String> roleSet) {
            String rolesStr = value;
            if (encrypted && cipher != null) {
                try {
                    rolesStr = cipher.decryptoText(rolesStr);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

            }
        }
    
        /**
         * Finds a login user by username and encrypted password.
         *
         * @param username the username to search for
         * @param cipheredPassword the encrypted password to match
         * @return an optional entity containing the found user, or empty if not found
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/Constants.java

        /** Queries field name. */
        public static final String QUERIES = "queries";
    
        /** Virtual hosts field name. */
        public static final String VIRTUAL_HOSTS = "virtualHosts";
    
        /** Prefix for encrypted/ciphered values. */
        public static final String CIPHER_PREFIX = "{cipher}";
    
        /** System user identifier. */
        public static final String SYSTEM_USER = "system";
    
        /** Empty user ID placeholder. */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 34.6K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        )
      }
    
      /**
       * Returns a request that creates a TLS tunnel via an HTTP proxy. Everything in the tunnel request
       * is sent unencrypted to the proxy server, so tunnels include only the minimum set of headers.
       * This avoids sending potentially sensitive data like HTTP cookies to the proxy unencrypted.
       *
       * In order to support preemptive authentication we pass a fake "Auth Failed" response to the
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

          Platform.get().afterHandshake(sslSocket)
          if (!success) {
            sslSocket.closeQuietly()
          }
        }
      }
    
      /**
       * To make an HTTPS connection over an HTTP proxy, send an unencrypted CONNECT request to create
       * the proxy connection. This may need to be retried if the proxy requires authorization.
       */
      @Throws(IOException::class)
      private fun createTunnel(): Request? {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top