- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for setAuthentication (0.6 seconds)
-
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) {
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) -
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);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 4.3K bytes - Click Count (1) -
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;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.7K bytes - Click Count (0) -
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));Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 6.4K bytes - Click Count (0) -
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()); }
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) -
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('@'); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 9.4K bytes - Click Count (0)