Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for AuthScope (0.1 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/impl/AuthenticationImpl.java

            this(authScope, credentials, null);
        }
    
        public AuthenticationImpl(final AuthScope authScope, final Credentials credentials, final AuthScheme authScheme) {
            this.authScope = authScope;
            this.credentials = credentials;
            this.authScheme = authScheme;
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

                final AuthScope authScope = authentication.getAuthScope();
                credentialsProvider.setCredentials(authScope, authentication.getCredentials());
                final AuthScheme authScheme = authentication.getAuthScheme();
                if (authScope.getHost() != null && authScheme != null) {
                    final HttpHost targetHost = new HttpHost(authScope.getHost(), authScope.getPort());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.java

                return new FormScheme(parameterMap);
            }
            return null;
        }
    
        private AuthScope getAuthScope() {
            if (StringUtil.isBlank(getHostname())) {
                return AuthScope.ANY;
            }
    
            int p;
            if (getPort() == null) {
                p = AuthScope.ANY_PORT;
            } else {
                p = getPort();
            }
    
            String r = getAuthRealm();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/exentity/DataConfig.java

            final String realm = paramMap.get(CRAWLER_WEB_AUTH + "." + webAuthName + ".realm");
            AuthScope authScope;
            if (StringUtil.isBlank(hostname)) {
                authScope = AuthScope.ANY;
            } else {
                int p = AuthScope.ANY_PORT;
                if (StringUtil.isNotBlank(port)) {
                    try {
                        p = Integer.parseInt(port);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Authentication.java

     */
    package org.codelibs.fess.crawler.client.http;
    
    import org.apache.http.auth.AuthScheme;
    import org.apache.http.auth.AuthScope;
    import org.apache.http.auth.Credentials;
    
    /**
     *
     *
     * @author shinsuke
     *
     */
    public interface Authentication {
    
        AuthScope getAuthScope();
    
        Credentials getCredentials();
    
        AuthScheme getAuthScheme();
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 963 bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                } else {
                    final AuthScope authScope = authentication.getAuthScope();
                    credentialsProvider.setCredentials(authScope, authentication.getCredentials());
                    if (authScope.getHost() != null && authScheme != null) {
                        final HttpHost targetHost = new HttpHost(authScope.getHost(), authScope.getPort());
                        authCache.put(targetHost, authScheme);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

        //
        // DigestScheme digestScheme = new DigestScheme();
        // List<Authentication> basicAuthList = new ArrayList<Authentication>();
        // basicAuthList.add(new AuthenticationImpl(
        // new AuthScope("www.hoge.com", 80),
        // new UsernamePasswordCredentials("username", "password"),
        // digestScheme));
        // paramMap.put(
        // HcHttpClient.AUTHENTICATIONS_PROPERTY,
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top