Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isValidUserCode (0.09 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

            };
    
            assertTrue(fessConfig.isValidUserCode("1234567890"));
            assertTrue(fessConfig.isValidUserCode("12345678901234567890"));
            assertTrue(fessConfig.isValidUserCode("1234567890abcdeABCD_"));
    
            assertFalse(fessConfig.isValidUserCode("123456789"));
            assertFalse(fessConfig.isValidUserCode("123456789012345678901"));
            assertFalse(fessConfig.isValidUserCode("123456789?"));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final PrimaryCipher cipher = ComponentUtil.getPrimaryCipher();
            userCode = cipher.encrypt(userCode);
            if (fessConfig.isValidUserCode(userCode)) {
                return userCode;
            }
            return null;
        }
    
        public void deleteUserCodeFromCookie(final HttpServletRequest request) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        }
    
        String getUserCodePattern();
    
        Integer getUserCodeMinLengthAsInteger();
    
        Integer getUserCodeMaxLengthAsInteger();
    
        default boolean isValidUserCode(final String userCode) {
            if (userCode == null) {
                return false;
            }
    
            final int length = userCode.length();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
Back to top