Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getAuthentication (0.06 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

             */
            if (deploymentRepository instanceof DefaultArtifactRepository
                    && deploymentRepository.getAuthentication() == null) {
                RemoteRepository.Builder builder = new RemoteRepository.Builder(remoteRepo);
                builder.setAuthentication(session.getAuthenticationSelector().getAuthentication(remoteRepo));
                builder.setProxy(session.getProxySelector().getProxy(remoteRepo));
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java

        }
    
        @Override
        public boolean isProjectAware() {
            return false;
        }
    
        @Override
        public Authentication getAuthentication() {
            return authentication;
        }
    
        @Override
        public void setAuthentication(Authentication authentication) {
            this.authentication = authentication;
        }
    
        @Override
        public Proxy getProxy() {
            return proxy;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  4. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/LegacyRepositorySystemTest.java

            repositorySystem.injectAuthentication(Arrays.asList(repository), Arrays.asList(server));
            Authentication authentication = repository.getAuthentication();
            assertNotNull(authentication);
            assertEquals("jason", authentication.getUsername());
            assertEquals("abc123", authentication.getPassword());
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java

        /**
         * @param authentication authentication
         * @since 3.0-alpha-3
         */
        void setAuthentication(Authentication authentication);
    
        /**
         * @return repository authentication
         * @since 3.0-alpha-3
         */
        Authentication getAuthentication();
    
        /**
         * @param proxy proxy
         * @since 3.0-alpha-3
         */
        void setProxy(Proxy proxy);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4.3K bytes
    - Viewed (1)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java

            }
            return buf.toString();
        }
    
        /**
         * Returns the NTLM password authentication.
         * @return The NTLM password authentication.
         */
        public NtlmPasswordAuthentication getAuthentication() {
            return new NtlmPasswordAuthentication(domain == null ? "" : domain, username, password);
        }
    
        /**
         * Returns the server address.
         * @return The server address.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            @Override
            public boolean isProjectAware() {
                return false;
            }
    
            @Override
            public void setAuthentication(Authentication authentication) {}
    
            @Override
            public Authentication getAuthentication() {
                return null;
            }
    
            @Override
            public void setProxy(Proxy proxy) {}
    
            @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Apr 22 22:13:51 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. 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 Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
Back to top