Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 18 for setCredentials (0.24 seconds)

  1. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

                        builder.setHost(endpoint);
                        builder.setCredentials(NoCredentials.getInstance());
                    } else if (StringUtil.isNotBlank(credentialsFile)) {
                        // Use credentials file if specified
                        try (InputStream is = new FileInputStream(credentialsFile)) {
                            builder.setCredentials(ServiceAccountCredentials.fromStream(is));
                        }
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

                builder.setProjectId(projectId);
            }
    
            if (StringUtil.isNotBlank(endpoint)) {
                // For fake-gcs-server or custom endpoint
                builder.setHost(endpoint);
                builder.setCredentials(NoCredentials.getInstance());
                if (logger.isDebugEnabled()) {
                    logger.debug("Using custom GCS endpoint: {}", endpoint);
                }
            } else {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

            for (final Authentication authentication : siteCredentialList) {
                final AuthScope authScope = authentication.getAuthScope();
                credentialsProvider.setCredentials(authScope, authentication.getCredentials());
                final AuthScheme authScheme = authentication.getAuthScheme();
                if (authScope.getHost() != null && authScheme != null) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

            if (StringUtil.isNotBlank(endpoint)) {
                // For fake-gcs-server or custom endpoint
                builder.setHost(endpoint);
                builder.setCredentials(NoCredentials.getInstance());
                if (logger.isDebugEnabled()) {
                    logger.debug("Using custom GCS endpoint: {}", endpoint);
                }
            } else {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                    formSchemeList.add(new Pair<>((FormScheme) authScheme, authentication.getCredentials()));
                } else {
                    final AuthScope authScope = authentication.getAuthScope();
                    credentialsProvider.setCredentials(authScope, authentication.getCredentials());
                    if (authScope.getHost() != null && authScheme != null) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Nov 23 12:19:14 GMT 2025
    - 53.7K bytes
    - Click Count (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/gcs/GcsClientTest.java

            Storage storage = StorageOptions.newBuilder()//
                    .setProjectId(PROJECT_ID)//
                    .setHost(endpoint)//
                    .setCredentials(NoCredentials.getInstance())//
                    .build()//
                    .getService();
    
            storage.create(BucketInfo.newBuilder(bucketName).build());
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/context/AbstractCIFSContext.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getCredentials()
         */
        @Override
        public Credentials getCredentials() {
            return getDefaultCredentials();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#hasDefaultCredentials()
         */
        @Override
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

        /**
         * @param tf
         * @param tdom
         * @param thost
         * @return
         */
        protected boolean matches(CIFSContext tf, String thost, String tdom) {
            return Objects.equals(this.getCredentials(), tf.getCredentials()) && Objects.equals(this.targetHost, thost)
                    && Objects.equals(this.targetDomain, tdom);
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java

        private WebConfig webConfig;
    
        public Authentication getAuthentication() {
            return new AuthenticationImpl(getAuthScope(), getCredentials(), getAuthScheme());
        }
    
        private AuthScheme getAuthScheme() {
            final String scheme = getProtocolScheme();
            if (Constants.BASIC.equals(scheme)) {
                return new BasicScheme();
            }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Mon Nov 24 04:23:08 GMT 2025
    - 6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java

                    final AuthScheme authScheme = getAuthScheme(paramMap, webAuthName, scheme);
                    final AuthScope authScope = getAuthScope(webAuthName, scheme, paramMap);
                    final Credentials credentials = getCredentials(webAuthName, scheme, paramMap);
                    basicAuthList.add(new AuthenticationImpl(authScope, credentials, authScheme));
                }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 18.8K bytes
    - Click Count (0)
Back to Top