- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for addPassword (0.38 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractorTest.java
assertNull(pdfExtractor.getPassword(params)); } public void test_getPassword() { String url; String resourceName; pdfExtractor.addPassword(".*hoge1.pdf", "password"); pdfExtractor.addPassword("fuga.pdf", "PASSWORD"); HashMap<String, String> params = new HashMap<>(); url = null; resourceName = null; params.put(ExtractData.URL, url);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 7.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PasswordBasedExtractor.java
protected Map<Pattern, String> passwordMap = new HashMap<>(); private final Map<String, List<Pair<Pattern, String>>> configPasswordMap = new ConcurrentHashMap<>(); public void addPassword(final String regex, final String password) { passwordMap.put(Pattern.compile(regex), password); } protected String getPassword(final Map<String, String> params) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
Authentication result = null; if (auth != null) { AuthenticationBuilder authBuilder = new AuthenticationBuilder(); authBuilder.addUsername(auth.getUsername()).addPassword(auth.getPassword()); authBuilder.addPrivateKey(auth.getPrivateKey(), auth.getPassphrase()); result = authBuilder.build(); } return result; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
for (Proxy proxy : decrypted.getProxies()) { AuthenticationBuilder authBuilder = new AuthenticationBuilder(); authBuilder.addUsername(proxy.getUsername()).addPassword(proxy.getPassword()); proxySelector.add( new org.eclipse.aether.repository.Proxy( proxy.getProtocol(), proxy.getHost(), proxy.getPort(), authBuilder.build()),
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 25.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java
} public void test_getPdfPassword() { String url; String resourceName; tikaExtractor.addPassword(".*hoge1.pdf", "password"); tikaExtractor.addPassword("fuga.pdf", "PASSWORD"); url = null; resourceName = null; assertNull(tikaExtractor.getPassword(createParams(url, resourceName)));
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 30.5K bytes - Viewed (0)