Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for getServers (0.1 sec)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionRequest.java

         *
         * @param settings The settings to decrypt, must not be {@code null}.
         */
        public DefaultSettingsDecryptionRequest(Settings settings) {
            setServers(settings.getServers());
            setProxies(settings.getProxies());
        }
    
        /**
         * Creates a new request to decrypt the specified server.
         *
         * @param server The server to decrypt, must not be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionResult.java

         *
         * @return The decrypted server or {@code null}.
         */
        Server getServer();
    
        /**
         * Gets the decrypted servers.
         *
         * @return The decrypted server, can be empty but never {@code null}.
         */
        List<Server> getServers();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/merge/MavenSettingsMerger.java

                dominant.setLocalRepository(recessive.getLocalRepository());
            }
    
            shallowMergeById(dominant.getMirrors(), recessive.getMirrors(), recessiveSourceLevel);
            shallowMergeById(dominant.getServers(), recessive.getServers(), recessiveSourceLevel);
            shallowMergeById(dominant.getProxies(), recessive.getProxies(), recessiveSourceLevel);
            shallowMergeById(dominant.getProfiles(), recessive.getProfiles(), recessiveSourceLevel);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionRequest.java

         *
         * @return The servers to decrypt, never {@code null}.
         */
        List<Server> getServers();
    
        /**
         * Sets the servers whose passwords should be decrypted.
         *
         * @param servers The servers to decrypt, may be {@code null}.
         * @return This request, never {@code null}.
         */
        SettingsDecryptionRequest setServers(List<Server> servers);
    
        /**
         * Gets the proxies whose passwords should be decrypted.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            Objects.requireNonNull(server, "server cannot be null");
    
            for (Server p : getServers()) {
                if (p.getId() != null && p.getId().equals(server.getId())) {
                    return this;
                }
            }
    
            getServers().add(server);
    
            return this;
        }
    
        @Override
        public List<Mirror> getMirrors() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionResult.java

            this.problems = (problems != null) ? problems : new ArrayList<>();
        }
    
        @Override
        public Server getServer() {
            return servers.isEmpty() ? null : servers.get(0);
        }
    
        @Override
        public List<Server> getServers() {
            return servers;
        }
    
        @Override
        public Proxy getProxy() {
            return proxies.isEmpty() ? null : proxies.get(0);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java

            List<SettingsProblem> problems = new ArrayList<>();
    
            List<Server> servers = new ArrayList<>();
    
            for (Server server : request.getServers()) {
                server = server.clone();
    
                String password = server.getPassword();
                if (securityDispatcher.isAnyEncryptedString(password)) {
                    try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

        }
    
        private void injectSession2(ArtifactResolutionRequest request, MavenSession session) {
            injectSession1(request, session);
    
            if (session != null) {
                request.setServers(session.getRequest().getServers());
                request.setMirrors(session.getRequest().getMirrors());
                request.setProxies(session.getRequest().getProxies());
            }
        }
    
        public void resolve(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            }
    
            DefaultSettingsDecryptionRequest decrypt = new DefaultSettingsDecryptionRequest();
            decrypt.setProxies(request.getProxies());
            decrypt.setServers(request.getServers());
            SettingsDecryptionResult decrypted = settingsDecrypter.decrypt(decrypt);
            for (SettingsProblem problem : decrypted.getProblems()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

            if (session != null && id != null) {
                MavenExecutionRequest request = session.getRequest();
    
                if (request != null) {
                    List<Server> servers = request.getServers();
    
                    if (servers != null) {
                        for (Server server : servers) {
                            if (id.equalsIgnoreCase(server.getId())) {
                                SettingsDecryptionResult result =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top