Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for getAuthentication (0.23 sec)

  1. 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) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  2. 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) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  3. 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));
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  4. 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);
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sat Feb 17 18:40:11 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  5. 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());
        }
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

            }
    
            if (repository.getAuthentication() != null && repository.getProxy() != null) {
                wagon.connect(
                        new Repository(repository.getId(), repository.getUrl()),
                        authenticationInfo(repository),
                        proxyInfo(repository));
    
            } else if (repository.getAuthentication() != null) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  7. 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;
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  8. 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);
    
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Thu Feb 23 17:14:45 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  9. 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;
        }
    
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.java

        private static final long serialVersionUID = 1L;
    
        private static final Logger logger = LogManager.getLogger(WebAuthentication.class);
    
        private WebConfig webConfig;
    
        public Authentication getAuthentication() {
            return new AuthenticationImpl(getAuthScope(), getCredentials(), getAuthScheme());
        }
    
        private AuthScheme getAuthScheme() {
            final String scheme = getProtocolScheme();
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top