Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for WebAuthenticationConfig (0.19 seconds)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/config/WebAuthenticationConfig.java

     * <p>Example usage for Basic authentication:</p>
     * <pre>{@code
     * WebAuthenticationConfig config = new WebAuthenticationConfig();
     * config.setHost("example.com");
     * config.setPort(80);
     * config.setCredentials(credentialsConfig);
     * }</pre>
     *
     * <p>Example usage for Form-based authentication:</p>
     * <pre>{@code
     * WebAuthenticationConfig config = new WebAuthenticationConfig();
     * config.setHost("example.com");
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java

        private WebConfig webConfig;
    
        public WebAuthenticationConfig getWebAuthenticationConfig() {
            if (StringUtil.isEmpty(getUsername())) {
                throw new CrawlerSystemException(
                        "Username is empty in WebAuthentication configuration. A valid username must be provided for authentication.");
            }
    
            final WebAuthenticationConfig config = new WebAuthenticationConfig();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:38:30 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java

    import org.codelibs.fess.crawler.client.http.config.CredentialsConfig.CredentialsType;
    import org.codelibs.fess.crawler.client.http.config.WebAuthenticationConfig;
    import org.codelibs.fess.crawler.client.http.config.WebAuthenticationConfig.AuthSchemeType;
    import org.codelibs.fess.crawler.client.smb.SmbAuthentication;
    import org.codelibs.fess.crawler.client.smb.SmbClient;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:38:30 GMT 2026
    - 17.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java

            final List<WebAuthenticationConfig> authConfigList = new ArrayList<>();
            for (final WebAuthentication webAuth : webAuthList) {
                authConfigList.add(webAuth.getWebAuthenticationConfig());
            }
            paramMap.put(HcHttpClient.AUTHENTICATIONS_PROPERTY, authConfigList.toArray(new WebAuthenticationConfig[authConfigList.size()]));
    
            // request header
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:38:30 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/opensearch/config/exentity/WebConfigTest.java

    import org.codelibs.fess.crawler.client.CrawlerClientFactory;
    import org.codelibs.fess.crawler.client.http.HcHttpClient;
    import org.codelibs.fess.crawler.client.http.config.WebAuthenticationConfig;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.mylasta.direction.FessProp;
    import org.codelibs.fess.unit.UnitFessTestCase;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5HttpClient.java

                return null;
            }
    
            Properties result = null;
    
            if (value instanceof WebAuthenticationConfig[]) {
                for (final WebAuthenticationConfig config : (WebAuthenticationConfig[]) value) {
                    if (config.getAuthSchemeType() == WebAuthenticationConfig.AuthSchemeType.NTLM) {
                        if (result == null) {
                            result = new Properties();
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sat Jan 31 12:23:29 GMT 2026
    - 62.2K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4HttpClient.java

            if (value instanceof WebAuthenticationConfig[]) {
                return convertFromConfig((WebAuthenticationConfig[]) value);
            }
    
            logger.warn("Unknown authentication type: type={}", value.getClass().getName());
            return new Hc4Authentication[0];
        }
    
        /**
         * Converts WebAuthenticationConfig POJO array to Hc4Authentication array.
         *
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 54.4K bytes
    - Click Count (0)
Back to Top