Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 325 for domein (0.04 sec)

  1. src/test/java/jcifs/smb1/smb1/DfsTest.java

            String root = "share";
            String path = "\\folder";
            String fullPath = "\\" + domain + "\\" + root + path; // Should be "\domain.com\share\folder"
    
            lenient().when(smbTransport.getDfsReferrals(auth, fullPath, 0)).thenReturn(dfsReferral);
    
            assertEquals(dfsReferral, dfs.getReferral(smbTransport, domain, root, path, auth));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java

    import jcifs.smb1.smb1.SmbException;
    
    /**
     * Handle for Security Account Manager (SAM) domain operations.
     * This class represents an open handle to a SAM domain and provides
     * operations for managing domain users, groups, and aliases.
     */
    public class SamrDomainHandle extends rpc.policy_handle {
    
        DcerpcHandle handle;
    
        /**
         * Creates a new SAM domain handle.
         *
         * @param handle the DCE/RPC handle for communication
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

        @Test
        public void testEqualsWithPassword() {
            NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("DOMAIN", "user", "pass123");
            NtlmPasswordAuthenticator auth2 = new NtlmPasswordAuthenticator("DOMAIN", "user", "pass123");
            NtlmPasswordAuthenticator auth3 = new NtlmPasswordAuthenticator("DOMAIN", "user", "differentPass");
    
            assertEquals(auth1, auth2, "Authenticators with same credentials should be equal");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

            dfsEnumArray.count = 2;
            dfsEnumArray.s = new DfsInfo200[2];
            dfsEnumArray.s[0] = new DfsInfo200();
            dfsEnumArray.s[0].dfs_name = "\\domain\share1";
            dfsEnumArray.s[1] = new DfsInfo200();
            dfsEnumArray.s[1].dfs_name = "\\domain\share2";
    
            // Manually set the DfsEnumArray200 to the info struct
            dfsRootEnum.info.e = dfsEnumArray;
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/Type2Message.java

            final String domain = tc.getConfig().getDefaultDomain();
            byte[] ti = TARGET_INFO_CACHE.get(domain);
            if (ti != null) {
                return ti;
            }
    
            ti = makeTargetInfo(tc, domain);
            TARGET_INFO_CACHE.put(domain, ti);
            return ti;
        }
    
        /**
         * @param domain
         * @param domainLength
         * @param server
         * @return
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/JAASAuthenticator.java

         * @param serviceName
         *            JAAS configuration name
         * @param domain the domain for authentication
         * @param username the username for authentication
         * @param password the password for authentication
         */
        public JAASAuthenticator(String serviceName, String domain, String username, String password) {
            super(null, domain, username, password);
            this.serviceName = serviceName;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbTransportPool.java

         *
         */
        boolean close() throws CIFSException;
    
        /**
         * Authenticate arbitrary credentials represented by the
         * <code>NtlmPasswordAuthentication</code> object against the domain controller
         * specified by the <code>UniAddress</code> parameter. If the credentials are
         * not accepted, an <code>SmbAuthException</code> will be thrown. If an error
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

        }
    
        @Test
        @DisplayName("Test statistics accumulation")
        void testStatisticsAccumulation() {
            logger.logAuthentication(true, "user1", "DOMAIN", "192.168.1.1");
            logger.logAuthentication(false, "user2", "DOMAIN", "192.168.1.2");
            logger.logFileAccess("WRITE", "/file.txt", true, "user1");
    
            Map<EventType, Long> stats = logger.getStatistics();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

        @Test
        @DisplayName("Should handle case sensitivity in domain and workstation")
        void testCaseSensitivity() {
            // Given
            String domain = "TestDomain";
            String workstation = "TestWorkstation";
    
            // When
            Type1Message type1 = new Type1Message(mockContext, 0, domain, workstation);
    
            // Then
            assertEquals(domain, type1.getSuppliedDomain());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java

        /**
         * Create username/password credentials with specified domain
         *
         * @param domain the authentication domain
         * @param username the username
         * @param passwordHash
         *            NT password hash
         */
        public NtlmNtHashAuthenticator(final String domain, final String username, final byte[] passwordHash) {
            super(domain, username, (String) null, AuthenticationType.USER);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top