Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for encrypted (0.77 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/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

            for (String testStr : testStrings) {
                String encrypted = cipher.encrypt(testStr);
                String decrypted = cipher.decrypt(encrypted);
                assertEquals("Failed for: " + testStr, testStr, decrypted);
            }
        }
    
        // Test provider as CookieResourceProvider interface
        public void test_asInterface() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            if (logger.isDebugEnabled()) {
                logger.debug("system.properties: {}", value);
            }
            if (StringUtil.isNotBlank(value)) {
                ParameterUtil.parse(ParameterUtil.encrypt(value)).entrySet().stream().filter(e -> {
                    final String key = e.getKey();
                    if (StringUtil.isBlank(key)) {
                        return false;
                    }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        }
    
        default void setLdapAdminSecurityCredentials(final String value) {
            setSystemProperty(Constants.LDAP_ADMIN_SECURITY_CREDENTIALS,
                    Constants.CIPHER_PREFIX + ComponentUtil.getPrimaryCipher().encrypt(value));
        }
    
        default String getLdapAdminSecurityCredentials() {
            final String value = getSystemProperty(Constants.LDAP_ADMIN_SECURITY_CREDENTIALS);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
Back to top