Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for setAuthentication (0.13 sec)

  1. 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)
  2. compat/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) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  3. 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();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/exentity/WebConfig.java

            final List<Authentication> basicAuthList = new ArrayList<>();
            for (final WebAuthentication webAuth : webAuthList) {
                basicAuthList.add(webAuth.getAuthentication());
            }
            paramMap.put(HcHttpClient.AUTHENTICATIONS_PROPERTY, basicAuthList.toArray(new Authentication[basicAuthList.size()]));
    
            // request header
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. 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('@');
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

            }
            try {
                if (smbAuthentication == null) {
                    file = new SmbFile(filePath);
                } else {
                    file = new SmbFile(filePath, smbAuthentication.getAuthentication());
                }
            } catch (final MalformedURLException e) {
                logger.warn("Could not parse url: " + filePath, e);
            }
    
            if (logger.isDebugEnabled()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top