Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 324 for samr (1.83 sec)

  1. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

            when(mockChannelManager.getHealthyChannels()).thenReturn(Arrays.asList(channel1, channel2));
    
            // Multiple calls with same file ID should return same channel
            ChannelInfo first = loadBalancer.selectChannel(readRequest);
            ChannelInfo second = loadBalancer.selectChannel(readRequest);
    
            assertEquals(first, second);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SecurityBlobTest.java

        @DisplayName("Constructor stores and exposes same array reference")
        void constructor_and_get_referenceSemantics() {
            // Arrange
            byte[] data = new byte[] { (byte) 0xDE, (byte) 0xAD, (byte) 0xBE, (byte) 0xEF };
    
            // Act
            SecurityBlob blob = new SecurityBlob(data);
    
            // Assert
            assertSame(data, blob.get(), "get() should expose the same array reference passed in");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrAliasHandle.java

    import jcifs.smb1.smb1.SmbException;
    
    /**
     * Handle for Security Account Manager (SAM) alias operations.
     * This class represents an open handle to a SAM alias and provides
     * operations for managing alias membership and properties.
     */
    public class SamrAliasHandle extends rpc.policy_handle {
    
        DcerpcHandle handle;
    
        /**
         * Creates a new SAM alias handle.
         *
         * @param handle the DCE/RPC handle for communication
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

        }
    
        /**
         * Test switchIndex when update and search indices are the same.
         * Verifies that the method returns early without errors.
         */
        @Test
        public void testSwitchIndex_sameUpdateAndSearchIndex() throws Exception {
            final Suggester suggester = Suggester.builder().build(client, "same-index-test");
            suggester.createIndexIfNothing();
    
            // Get the current indices
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/NameServiceClient.java

         * have many names for a given IP address. The name and IP address make the
         * NetBIOS address. This provides a way to retrieve the other names for a
         * host with the same IP address.
         *
         * @param addr
         *            the address to query
         * @return resolved addresses
         * @throws UnknownHostException
         *             if address cannot be resolved
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

     */
    
    package jcifs.smb1.smb1;
    
    import java.util.Date;
    
    import jcifs.smb1.Config;
    import jcifs.smb1.util.Hexdump;
    
    class SmbComOpenAndX extends AndXServerMessageBlock {
    
        // flags (not the same as flags constructor argument)
        private static final int FLAGS_RETURN_ADDITIONAL_INFO = 0x01;
        private static final int FLAGS_REQUEST_OPLOCK = 0x02;
        private static final int FLAGS_REQUEST_BATCH_OPLOCK = 0x04;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         * If either or both arrays are {@literal null}, the other array is returned as is.
         * If either or both arrays have a length of {@literal 0}, the other array is returned as is.
         * In any case, the returned array is the same instance as the argument array and is not copied.
         * </p>
         *
         * @param <T>
         *            the type of the array elements
         * @param a
         *            first array
         * @param b
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/NtlmUtilTest.java

            // Assert
            assertArrayEquals(h2, h1, "nTOWFv1 should return NT hash");
            assertEquals(16, h1.length, "NT hash length is 16 bytes");
        }
    
        @Test
        @DisplayName("nTOWFv2: overloads produce same result and domain affects key")
        void testNTOWFv2_overloadsAndDomainSensitivity() {
            // Arrange
            String domain = "Domain";
            String user = "User";
            String password = "password";
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (1)
  9. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            // Create new storage with same salt
            SecureCredentialStorage storage2 = new SecureCredentialStorage(masterPassword.clone(), salt);
    
            try {
                // Should be able to decrypt with same salt and password
                char[] decrypted = storage2.decryptCredentials(encrypted);
                assertArrayEquals(plaintext, decrypted, "Should decrypt correctly with same salt and password");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java

    /**
     * Handle for Security Account Manager (SAM) alias operations.
     * This class represents an open handle to a SAM alias and provides
     * operations for managing alias membership and properties.
     */
    public class SamrAliasHandle extends rpc.policy_handle implements AutoCloseable {
    
        private final DcerpcHandle handle;
        private boolean opened;
    
        /**
         * Creates a new SAM alias handle.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top