Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for setAuthentication (0.19 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                        authentication.setPassphrase(server.getPassphrase());
    
                        repository.setAuthentication(authentication);
                    } else {
                        repository.setAuthentication(null);
                    }
                }
            }
        }
    
        private Authentication getAuthentication(RepositorySystemSession session, ArtifactRepository repository) {
            if (session != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                    org.eclipse.aether.repository.Authentication auth = selector.getAuthentication(repo);
                    if (auth != null) {
                        repo = new RemoteRepository.Builder(repo)
                                .setAuthentication(auth)
                                .build();
                        AuthenticationContext authCtx = AuthenticationContext.forRepository(session, repo);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

                return Collections.emptyList();
            }
    
            public boolean isProjectAware() {
                return false;
            }
    
            public void setAuthentication(Authentication authentication) {}
    
            public Authentication getAuthentication() {
                return null;
            }
    
            public void setProxy(Proxy proxy) {}
    
            public Proxy getProxy() {
                return null;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

        }
    
        protected static <T> boolean eq(T s1, T s2) {
            return Objects.equals(s1, s2);
        }
    
        public Authentication getAuthentication() {
            return authentication;
        }
    
        public void setAuthentication(Authentication authentication) {
            this.authentication = authentication;
        }
    
        public Proxy getProxy() {
            return proxy;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                builder.setSnapshotPolicy(toPolicy(repo.getSnapshots()));
                builder.setReleasePolicy(toPolicy(repo.getReleases()));
                builder.setAuthentication(toAuthentication(repo.getAuthentication()));
                builder.setProxy(toProxy(repo.getProxy()));
                builder.setMirroredRepositories(toRepos(repo.getMirroredRepositories()));
                builder.setBlocked(repo.isBlocked());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

            }
    
            if (repository.getAuthentication() != null && repository.getProxy() != null) {
                wagon.connect(
                        new Repository(repository.getId(), repository.getUrl()),
                        authenticationInfo(repository),
                        proxyInfo(repository));
    
            } else if (repository.getAuthentication() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.java

            final List<Authentication> basicAuthList = new ArrayList<>();
            for (final WebAuthentication webAuth : webAuthList) {
                basicAuthList.add(webAuth.getAuthentication());
            }
            paramMap.put(HcHttpClient.AUTHENTICATIONS_PROPERTY, basicAuthList.toArray(new Authentication[basicAuthList.size()]));
    
            // request header
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

            }
    
            // consider the username&password because a repo manager might block artifacts depending on authorization
            Authentication auth = repository.getAuthentication();
            if (auth != null) {
                int hash = (auth.getUsername() + auth.getPassword()).hashCode();
                buffer.append(hash).append('@');
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

            }
            try {
                if (smbAuthentication == null) {
                    file = new SmbFile(filePath);
                } else {
                    file = new SmbFile(filePath, smbAuthentication.getAuthentication());
                }
            } catch (final MalformedURLException e) {
                logger.warn("Could not parse url: " + filePath, e);
            }
    
            if (logger.isDebugEnabled()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top