Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for getUsername (0.06 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

                                server = result.getServer();
    
                                AuthenticationInfo authInfo = new AuthenticationInfo();
                                authInfo.setUserName(server.getUsername());
                                authInfo.setPassword(server.getPassword());
                                authInfo.setPrivateKey(server.getPrivateKey());
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/keymatch/CreateForm.java

         */
        public void initialize() {
            crudMode = CrudMode.CREATE;
            maxSize = 10;
            boost = 100.0f;
            createdBy = ComponentUtil.getSystemHelper().getUsername();
            createdTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
    
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/LegacyRepositorySystemTest.java

            Authentication authentication = repository.getAuthentication();
            assertNotNull(authentication);
            assertEquals("jason", authentication.getUsername());
            assertEquals("abc123", authentication.getPassword());
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java

        }
    
        /**
         * Returns the username.
         * @return The username.
         */
        public String getUsername() {
            return username;
        }
    
        /**
         * Sets the username.
         * @param username The username.
         */
        public void setUsername(final String username) {
            this.username = username;
        }
    
        /**
         * Returns the password.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top