Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for setUserName (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/Authentication.java

            return username;
        }
    
        /**
         * Set username used to access the repository.
         *
         * @param userName the username used to access repository
         */
        public void setUsername(final String userName) {
            this.username = userName;
        }
    
        /**
         * Get the passphrase of the private key file. The passphrase is used only when host/protocol supports
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/repository/Proxy.java

        public String getUserName() {
            return userName;
        }
    
        /**
         * Set the proxy username.
         *
         * @param userName username for the proxy server
         */
        public void setUserName(String userName) {
            this.userName = userName;
        }
    
        /**
         * Get the protocol of the proxy server.
         *
         * @return the protocol of the proxy server
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4K bytes
    - Click Count (0)
  3. internal/event/target/mqtt.go

    	// character limit on client_id according to
    	// MQTT spec.
    	clientID := fmt.Sprintf("%x", time.Now().UnixNano())
    
    	options := mqtt.NewClientOptions().
    		SetClientID(clientID).
    		SetCleanSession(true).
    		SetUsername(args.User).
    		SetPassword(args.Password).
    		SetMaxReconnectInterval(args.MaxReconnectInterval).
    		SetKeepAlive(args.KeepAlive).
    		SetTLSConfig(&tls.Config{RootCAs: args.RootCAs}).
    		AddBroker(args.Broker.String())
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 8.2K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

                                server = result.getServer();
    
                                AuthenticationInfo authInfo = new AuthenticationInfo();
                                authInfo.setUserName(server.getUsername());
                                authInfo.setPassword(server.getPassword());
                                authInfo.setPrivateKey(server.getPrivateKey());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/LegacyRepositorySystemTest.java

            assertEquals(basedir, new File(repo.getBasedir()));
        }
    
        @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);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

                        repo = new RemoteRepository.Builder(repo).setProxy(proxy).build();
                        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));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.7K bytes
    - Click Count (0)
Back to Top