Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for testpassword (0.12 sec)

  1. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

        void testGetPasswordAsCharArray() {
            String testPassword = "securePassword456";
            authenticator = new NtlmPasswordAuthenticator("DOMAIN", "username", testPassword);
    
            char[] password = authenticator.getPasswordAsCharArray();
            assertNotNull(password, "Password char array should not be null");
            assertArrayEquals(testPassword.toCharArray(), password, "Password should match");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

    class NtlmContextTest {
    
        @Mock
        private NtlmPasswordAuthentication mockAuth;
    
        private final String domain = "TEST_DOMAIN";
        private final String username = "testUser";
        private final String password = "testPassword";
        private final String workstation = "TEST_WORKSTATION";
    
        @BeforeEach
        void setUp() {
            // MockitoExtension handles mock initialization
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbAuthentication.java

        /**
         * Returns the password for SMB authentication.
         * @return the password
         */
        public String getPassword() {
            return password;
        }
    
        /**
         * Sets the password for SMB authentication.
         * @param password the password to set
         */
        public void setPassword(final String password) {
            this.password = password;
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthentication.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;
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsFileAuthentication.java

            registerModifiedProperty("parameters");
            this.parameters = value;
        }
    
        public String getPassword() {
            checkSpecifiedProperty("password");
            return convertEmptyToNull(password);
        }
    
        public void setPassword(String value) {
            registerModifiedProperty("password");
            this.password = value;
        }
    
        public Integer getPort() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsWebAuthentication.java

            registerModifiedProperty("parameters");
            this.parameters = value;
        }
    
        public String getPassword() {
            checkSpecifiedProperty("password");
            return convertEmptyToNull(password);
        }
    
        public void setPassword(String value) {
            registerModifiedProperty("password");
            this.password = value;
        }
    
        public Integer getPort() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top