Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for getAuthentication (0.24 sec)

  1. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

            if (repositories != null && selector != null) {
                for (ArtifactRepository repository : repositories) {
                    repository.setAuthentication(getAuthentication(selector, repository));
                }
            }
        }
    
        private Authentication getAuthentication(AuthenticationSelector selector, ArtifactRepository repository) {
            if (selector != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java

                    buf.append(':');
                    buf.append(port);
                }
                buf.append('/');
            }
            return buf.toString();
        }
    
        public NtlmPasswordAuthentication getAuthentication() {
            return new NtlmPasswordAuthentication(domain == null ? "" : domain, username, password);
        }
    
        public String getServer() {
            return server;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java

            return Collections.emptyList();
        }
    
        public boolean isProjectAware() {
            return false;
        }
    
        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
    - 7.3K bytes
    - Viewed (0)
  7. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (1)
  8. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.java

        private static final long serialVersionUID = 1L;
    
        private static final Logger logger = LogManager.getLogger(WebAuthentication.class);
    
        private WebConfig webConfig;
    
        public Authentication getAuthentication() {
            return new AuthenticationImpl(getAuthScope(), getCredentials(), getAuthScheme());
        }
    
        private AuthScheme getAuthScheme() {
            final String scheme = getProtocolScheme();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top