Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for setPassword (0.08 sec)

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

                                    "server: " + server.getId(),
                                    -1,
                                    -1,
                                    null));
                        }
                        server.setPassword(securityDispatcher.decrypt(password));
                    } catch (SecDispatcherException | IOException e) {
                        problems.add(new DefaultSettingsProblem(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

                                AuthenticationInfo authInfo = new AuthenticationInfo();
                                authInfo.setUserName(server.getUsername());
                                authInfo.setPassword(server.getPassword());
                                authInfo.setPrivateKey(server.getPrivateKey());
                                authInfo.setPassphrase(server.getPassphrase());
    
                                return authInfo;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/LegacyRepositorySystemTest.java

        }
    
        @Test
        void testAuthenticationHandling() {
            Server server = new Server();
            server.setId("repository");
            server.setUsername("jason");
            server.setPassword("abc123");
    
            ArtifactRepository repository =
                    repositorySystem.createArtifactRepository("repository", "http://foo", null, null, null);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/Authentication.java

         *
         * @return password of user
         */
        public String getPassword() {
            return password;
        }
    
        /**
         * Set the user's password which is used when connecting to the repository.
         *
         * @param password password of the user
         */
        public void setPassword(String password) {
            this.password = password;
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/repository/Proxy.java

         *
         * @return user's password at proxy host
         */
        public String getPassword() {
            return password;
        }
    
        /**
         * Set the user's password for the proxy server.
         *
         * @param password password to use to log in to a proxy server
         */
        public void setPassword(String password) {
            this.password = password;
        }
    
        /**
         * Get the proxy port.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                        p.setPort(proxy.getPort());
                        p.setNonProxyHosts(proxy.getNonProxyHosts());
                        p.setUserName(proxy.getUsername());
                        p.setPassword(proxy.getPassword());
    
                        repository.setProxy(p);
                    } else {
                        repository.setProxy(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)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

                        AuthenticationContext authCtx = AuthenticationContext.forProxy(null, repo);
                        p.setUserName(authCtx.get(AuthenticationContext.USERNAME));
                        p.setPassword(authCtx.get(AuthenticationContext.PASSWORD));
                        p.setNtlmDomain(authCtx.get(AuthenticationContext.NTLM_DOMAIN));
                        p.setNtlmHost(authCtx.get(AuthenticationContext.NTLM_WORKSTATION));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

            AuthenticationInfo ai = new AuthenticationInfo();
            ai.setUserName(repository.getAuthentication().getUsername());
            ai.setPassword(repository.getAuthentication().getPassword());
            return ai;
        }
    
        private ProxyInfo proxyInfo(ArtifactRepository repository) {
            ProxyInfo proxyInfo = new ProxyInfo();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                            AuthenticationContext authCtx = AuthenticationContext.forProxy(session, repo);
                            p.setUserName(authCtx.get(AuthenticationContext.USERNAME));
                            p.setPassword(authCtx.get(AuthenticationContext.PASSWORD));
                            p.setNtlmDomain(authCtx.get(AuthenticationContext.NTLM_DOMAIN));
                            p.setNtlmHost(authCtx.get(AuthenticationContext.NTLM_WORKSTATION));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

            Proxy proxy = repository.getProxy();
            if (proxy != null) {
                if (proxy.getUserName() != null) {
                    int hash = (proxy.getUserName() + proxy.getPassword()).hashCode();
                    buffer.append(hash).append('@');
                }
                buffer.append(proxy.getHost()).append(':').append(proxy.getPort()).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)
Back to top