- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for setAuthentication (0.17 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java
return Collections.emptyList(); } public boolean isProjectAware() { return false; } public void setAuthentication(Authentication authentication) {} public Authentication getAuthentication() { return null; } public void setProxy(Proxy proxy) {} public Proxy getProxy() { return null;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
builder.setSnapshotPolicy(toPolicy(repo.getSnapshots())); builder.setReleasePolicy(toPolicy(repo.getReleases())); builder.setAuthentication(toAuthentication(repo.getAuthentication())); builder.setProxy(toProxy(repo.getProxy())); builder.setMirroredRepositories(toRepos(repo.getMirroredRepositories())); builder.setBlocked(repo.isBlocked());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16K bytes - Viewed (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()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0)