Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for encrypt (0.04 sec)

  1. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

            assertEquals(expect, ParameterUtil.encrypt(value));
    
            value = "";
            expect = "";
            assertEquals(expect, ParameterUtil.encrypt(value));
    
            value = "\n";
            expect = "";
            assertEquals(expect, ParameterUtil.encrypt(value));
    
            value = "=";
            expect = "unknown.1=";
            assertEquals(expect, ParameterUtil.encrypt(value));
    
            value = "=1\n=";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  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/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)
  6. 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)
  7. 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)
  8. 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)
  9. src/main/webapp/WEB-INF/view/admin/design/admin_design.jsp

                        <c:if test="${editable}">
                            <div class="card card-outline card-success">
                                <la:form action="/admin/design/upload/"
                                         enctype="multipart/form-data">
                                    <div class="card-header">
                                        <h3 class="card-title">
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 11.1K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/storage/admin_storage.jsp

                                            <div class="modal-dialog">
                                                <la:form action="/admin/storage/createDir/"
                                                         enctype="multipart/form-data" styleClass="modal-content">
                                                    <input type="hidden" name="path" value="${f:h(path)}"/>
                                                    <div class="modal-header">
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu May 26 01:48:41 UTC 2022
    - 20.4K bytes
    - Viewed (0)
Back to top