Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for getUserName (0.4 sec)

  1. src/main/java/org/codelibs/fess/opensearch/config/exentity/FileConfig.java

            }
            paramMap.put(Param.Client.FTP_AUTHENTICATIONS, ftpAuthList.toArray(new FtpAuthentication[ftpAuthList.size()]));
            if (logger.isDebugEnabled()) {
                ftpAuthList.forEach(ftpAuth -> logger
                        .debug("FtpAuthentication: " + ftpAuth.getServer() + ":" + ftpAuth.getPort() + " " + ftpAuth.getUsername()));
            }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            assertEquals("user", auth.getUsername());
            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());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                        this.ntHash = new byte[0];
                        this.capabilities &= ~SmbConstants.CAP_EXTENDED_SECURITY;
                        if (a.isGuest()) {
                            this.accountName = a.getUsername();
                            if (this.isUseUnicode()) {
                                this.accountName = this.accountName.toUpperCase();
                            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java

                final String domain = parameterMap.get("domain");
                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() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 04:23:08 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

        void testInitSecContext_state2_type3Message() throws Exception {
            // 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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            NtlmPasswordAuthenticator cloned = original.clone();
    
            // Verify cloned values
            assertEquals(original.getUserDomain(), cloned.getUserDomain());
            assertEquals(original.getUsername(), cloned.getUsername());
            assertEquals(original.getPassword(), cloned.getPassword());
    
            // Verify password arrays are independent
            original.secureWipePassword();
            assertNull(original.getPassword());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/PacLogonInfoTest.java

            // Use mocking to test getters without complex PAC data creation
            PacLogonInfo logonInfo = mock(PacLogonInfo.class);
    
            // Setup mock responses
            when(logonInfo.getUserName()).thenReturn(TEST_USERNAME);
            when(logonInfo.getDomainName()).thenReturn(TEST_DOMAIN);
            when(logonInfo.getServerName()).thenReturn(TEST_SERVER);
            when(logonInfo.getLogonTime()).thenReturn(new Date());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/JAASAuthenticator.java

                }
    
                if (cb instanceof NameCallback nc) {
                    String userDomain = this.getSpecifiedUserDomain();
                    if (this.getUsername() != null && userDomain != null) {
                        nc.setName(this.getUsername() + "@" + userDomain);
                    }
                } else if (cb instanceof PasswordCallback pc) {
                    char[] passwordChars = this.getPasswordAsCharArray();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.3K bytes
    - Viewed (1)
  9. src/main/java/org/codelibs/fess/app/web/admin/relatedquery/CreateForm.java

        /**
         * Initializes the form with default values for creating new related queries.
         */
        public void initialize() {
            crudMode = CrudMode.CREATE;
            createdBy = ComponentUtil.getSystemHelper().getUsername();
            createdTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/reqheader/CreateForm.java

        /**
         * Initializes the form with default values for creating a new request header.
         */
        public void initialize() {
            crudMode = CrudMode.CREATE;
            createdBy = ComponentUtil.getSystemHelper().getUsername();
            createdTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top