Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for getPassword (0.07 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractorTest.java

            assertNull(pdfExtractor.getPassword(params));
    
            url = "http://test.com/hoge1.pdf";
            params.put(ExtractData.URL, url);
            assertEquals("password", pdfExtractor.getPassword(params));
    
            url = "http://test.com/hoge1.pdf";
            params.put(ExtractData.URL, url);
            assertEquals("password", pdfExtractor.getPassword(params));
    
            url = "http://test.com/fuga.pdf";
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            assertEquals("password", auth.getPassword());
        }
    
        // Test constructor with user info string without password
        @Test
        void testConstructorWithUserInfoNoPassword() {
            NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication("DOMAIN;user");
            assertEquals("DOMAIN", auth.getDomain());
            assertEquals("user", auth.getUsername());
            assertNotNull(auth.getPassword()); // Should fall back to default
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            // Test the second step (processing Type 2 and creating Type 3 message)
            when(mockAuth.getDomain()).thenReturn(domain);
            when(mockAuth.getUsername()).thenReturn(username);
            when(mockAuth.getPassword()).thenReturn(password);
            NtlmContext context = new NtlmContext(mockAuth, true);
    
            // State 1: Generate Type 1 message
            context.initSecContext(new byte[0], 0, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

            String retrievedPassword = authenticator.getPassword();
            assertEquals("charArrayPassword", retrievedPassword, "Password should match");
    
            // Modify original array - should not affect stored password
            passwordChars[0] = 'X';
            String retrievedPassword2 = authenticator.getPassword();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java

                return new NTCredentials(getUsername(), getPassword(), workstation == null ? StringUtil.EMPTY : workstation,
                        domain == null ? StringUtil.EMPTY : domain);
            }
    
            return new UsernamePasswordCredentials(getUsername(), getPassword() == null ? StringUtil.EMPTY : getPassword());
        }
    
        public WebConfig getWebConfig() {
            if (webConfig == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java

        }
    
        /**
         * Returns the password.
         * @return The password.
         */
        public String getPassword() {
            return password;
        }
    
        /**
         * Sets the password.
         * @param password The password.
         */
        public void setPassword(final String password) {
            this.password = password;
        }
    
        /**
         * Returns the domain.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

                                AuthenticationInfo authInfo = new AuthenticationInfo();
                                authInfo.setUserName(server.getUsername());
                                authInfo.setPassword(server.getPassword());
                                authInfo.setPrivateKey(server.getPrivateKey());
                                authInfo.setPassphrase(server.getPassphrase());
    
                                return authInfo;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                } else {
                    // plain text
                    this.password = new byte[(pwAuth.getPassword().length() + 1) * 2];
                    this.passwordLength = writeString(pwAuth.getPassword(), this.password, 0);
                }
            } else {
                // no password in tree connect
                this.passwordLength = 1;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                        // plain text
                        final String password = auth.getPassword();
                        lmHash = new byte[0];
                        ntHash = new byte[(password.length() + 1) * 2];
                        writeString(password, ntHash, 0);
                    } else {
                        // plain text
                        final String password = auth.getPassword();
                        lmHash = new byte[(password.length() + 1) * 2];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/repository/Proxy.java

         *
         * @return user's password at proxy host
         */
        public String getPassword() {
            return password;
        }
    
        /**
         * Set the user's password for the proxy server.
         *
         * @param password password to use to log in to a proxy server
         */
        public void setPassword(String password) {
            this.password = password;
        }
    
        /**
         * Get the proxy port.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top