Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 183 for DOMAIN (0.04 sec)

  1. src/main/java/jcifs/smb/AuthenticationProvider.java

                this.authType = authType;
                this.timestamp = System.currentTimeMillis();
                this.clientAddress = clientAddress;
                this.serverAddress = serverAddress;
            }
    
            public String getUsername() {
                return username;
            }
    
            public String getDomain() {
                return domain;
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 3.9K bytes
    - Viewed (1)
  2. src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomain.java

    package jcifs.dcerpc.msrpc;
    
    import jcifs.dcerpc.rpc;
    
    /**
     * MSRPC implementation for opening a domain handle.
     * This class provides functionality to open a handle to a SAM domain
     * using the SAMR RPC interface.
     */
    public class MsrpcSamrOpenDomain extends samr.SamrOpenDomain {
    
        /**
         * Creates a new request to open a domain handle.
         *
         * @param handle the SAM policy handle
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

                // Default constructor
            }
    
            /** Domain NetBIOS name. */
            public rpc.unicode_string name;
            /** DNS domain name. */
            public rpc.unicode_string dns_domain;
            /** DNS forest name. */
            public rpc.unicode_string dns_forest;
            /** Domain GUID. */
            public rpc.uuid_t domain_guid;
            /** Domain security identifier. */
            public rpc.sid_t sid;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/NtlmUtilTest.java

        void testNTOWFv2_overloadsAndDomainSensitivity() {
            // Arrange
            String domain = "Domain";
            String user = "User";
            String password = "password";
    
            // Act
            byte[] viaHash = NtlmUtil.nTOWFv2(domain, user, NtlmUtil.getNTHash(password));
            byte[] viaPassword = NtlmUtil.nTOWFv2(domain, user, password);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (1)
  5. src/test/java/jcifs/CredentialsTest.java

        }
    
        @Test
        @DisplayName("Should get user domain")
        void testGetUserDomain() {
            // Given
            String domain = "TESTDOMAIN";
            when(mockCredentials.getUserDomain()).thenReturn(domain);
    
            // When
            String result = mockCredentials.getUserDomain();
    
            // Then
            assertEquals(domain, result);
            verify(mockCredentials).getUserDomain();
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SIDTest.java

        }
    
        /**
         * Test getting the domain SID.
         *
         * @throws SmbException if the SID string is invalid
         */
        @Test
        void testGetDomainSid() throws SmbException {
            // Create a mock RPC SID to simulate a user SID
            rpc.sid_t rpcSid = new rpc.sid_t();
            rpcSid.revision = 1;
            rpcSid.sub_authority_count = 5; // Fixed: should be 5 for domain SID with RID
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NtlmHttpFilter.java

                }
            }
    
            return ntlm;
        }
    
        private synchronized NtlmChallenge getChallengeForDomain(final String domain) throws UnknownHostException, ServletException {
            if (domain == null) {
                throw new ServletException("A domain was not specified");
            }
            final long now = System.currentTimeMillis();
            int retry = 1;
    
            do {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/RequestWithPath.java

         */
        void setPath(String path);
    
        /**
         * Sets the full UNC path components.
         *
         * @param domain the domain name
         * @param server the server name
         * @param fullPath the full UNC path
         */
        void setFullUNCPath(String domain, String server, String fullPath);
    
        /**
         * Sets whether to resolve this request path in DFS.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTransportInternalTest.java

        }
    
        // Happy path: session retrieval with host/domain variations
        @ParameterizedTest
        @DisplayName("getSmbSession(ctx,host,domain) returns session for various inputs")
        @CsvSource({ "server,DOMAIN", "server,", ",DOMAIN", "," })
        void getSmbSession_withTarget(String host, String domain) {
            when(transport.getSmbSession(any(jcifs.CIFSContext.class), any(), any())).thenReturn(session);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

            DEFAULT_DOMAIN = Config.getProperty("jcifs.smb1.smb.client.domain", null);
            byte[] domain = {};
            if (DEFAULT_DOMAIN != null) {
                try {
                    domain = DEFAULT_DOMAIN.getBytes(UNI_ENCODING);
                } catch (final IOException ex) {}
            }
            final int domainLength = domain.length;
            byte[] server = {};
            try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top