Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 34 for xldap (0.17 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/iam.go

    				sys.Lock()
    				sys.OpenIDConfig = openidConfig
    				sys.Unlock()
    			}
    		}
    
    		if !ldapInit {
    			// Initialize if LDAP is enabled
    			ldapConfig, err := xldap.Lookup(s, globalRootCAs)
    			if err != nil {
    				iamLogIf(ctx, fmt.Errorf("Unable to load LDAP configuration (LDAP configuration will be disabled!): %w", err), logger.WarningKind)
    			} else {
    				ldapInit = true
    				sys.Lock()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 76.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/ldap/LdapManager.java

        }
    
        /**
         * Escapes special characters in an LDAP search filter to prevent LDAP injection attacks.
         *
         * @param filter the LDAP search filter to escape (null is treated as empty string)
         * @return the escaped filter string safe for use in LDAP queries (empty string if filter is null)
         * @see <a href="https://tools.ietf.org/html/rfc4515">RFC 4515 - LDAP String Representation of Search Filters</a>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 08:06:20 GMT 2026
    - 85.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

        public Integer purgeSuggestSearchLogDay;
    
        /**
         * LDAP server URL for authentication.
         * Used when LDAP authentication is enabled.
         */
        @Size(max = 1000)
        public String ldapProviderUrl;
    
        /**
         * LDAP security principal for binding to the LDAP server.
         * Used for authenticating with the LDAP server.
         */
        @Size(max = 1000)
        public String ldapSecurityPrincipal;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            String message = "LDAP error: \"Invalid <config>\" & 'bad chars' @ #$%^&*()";
            LdapConfigurationException exception = new LdapConfigurationException(message);
    
            assertEquals(message, exception.getMessage());
        }
    
        @Test
        public void test_unicodeCharactersInMessage() {
            // Test with Unicode characters in message
            String message = "LDAP設定エラー: 接続失敗 🚫 ñ é ü ß";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/auth/chain/LdapChainTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.auth.chain;
    
    import org.codelibs.fess.ldap.LdapManager;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.opensearch.user.exentity.User;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  6. src/main/resources/fess_config.properties

    ldap.role.search.role.enabled=true
    
    # LDAP attribute for surname.
    ldap.attr.surname=sn
    # LDAP attribute for given name.
    ldap.attr.givenName=givenName
    # LDAP attribute for employee number.
    ldap.attr.employeeNumber=employeeNumber
    # LDAP attribute for mail.
    ldap.attr.mail=mail
    # LDAP attribute for telephone number.
    ldap.attr.telephoneNumber=telephoneNumber
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 59.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/ldap/LdapUtil.java

     */
    package org.codelibs.fess.ldap;
    
    /**
     * Utility class for LDAP operations.
     */
    public final class LdapUtil {
    
        private LdapUtil() {
        }
    
        /**
         * Escapes special characters in a value for use in LDAP search filters.
         * This method escapes characters that have special meaning in LDAP filter expressions
         * to prevent LDAP injection attacks.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 08:06:20 GMT 2026
    - 2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/ldap/LdapUtilTest.java

        }
    
        @Test
        public void test_escapeValue_mixedSpecialChars() {
            // Test LDAP injection attempt: admin*
            assertEquals("admin\\2a", LdapUtil.escapeValue("admin*"));
    
            // Test LDAP injection attempt: )(cn=*
            assertEquals("\\29\\28cn=\\2a", LdapUtil.escapeValue(")(cn=*"));
    
            // Test LDAP injection attempt: *)(uid=*))(|(uid=*
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

            DynamicProperties systemProps = new DynamicProperties(file);
    
            // Get existing component and update it instead of registering new one
            DynamicProperties existingProps = SingletonLaContainerFactory.getContainer().getComponent("systemProperties");
            existingProps.setProperty("ldap.security.principal", "******@****.***");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 25.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        /** The key of the configuration. e.g. cn=%s */
        String LDAP_ADMIN_GROUP_FILTER = "ldap.admin.group.filter";
    
        /** The key of the configuration. e.g. ou=Group,dc=fess,dc=codelibs,dc=org */
        String LDAP_ADMIN_GROUP_BASE_DN = "ldap.admin.group.base.dn";
    
        /** The key of the configuration. e.g. groupOfNames */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 576.9K bytes
    - Click Count (2)
Back to Top