Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 161 for setLong (1.53 sec)

  1. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

            }
    
            @Override
            public int encode(byte[] dst, int dstIndex) {
                // We need to override the parent ServerMessageBlock2's encode
                // to properly simulate setting the length field
                int start = dstIndex;
                dstIndex += writeHeaderWireFormat(dst, dstIndex);
                dstIndex += writeBytesWireFormat(dst, dstIndex);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                Field offField = Smb2ReadRequest.class.getDeclaredField("offset");
                offField.setAccessible(true);
                long offVal = offField.getLong(req);
                assertEquals(2L, offVal, "Request offset should match skipped bytes");
            }
    
            @Test
            @DisplayName("read(byte[]) delegates to read(byte[],off,len)")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

        @DisplayName("Configuration Tests")
        class ConfigurationTests {
    
            @Test
            @DisplayName("Should set security provider")
            void testSetDcerpcSecurityProvider() {
                // When: Setting security provider
                handle.setDcerpcSecurityProvider(mockSecurityProvider);
    
                // Then: Should not throw exception (private field, no direct verification)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            // Log warning for insecure NTLMv1 usage
            if (compatibility < 3) {
                log.warn("Using insecure NTLMv1 authentication (LM compatibility level {}). "
                        + "Please upgrade to NTLMv2 by setting jcifs.smb.lmCompatibility to 3 or higher.", compatibility);
            }
    
            switch (compatibility) {
            case 0:
            case 1:
                // NTLMv1 - deprecated and insecure
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  5. src/main/resources/fess_config.properties

    indexer.max.result.window.size=10000
    # Maximum number of search documents for the indexer.
    indexer.max.search.doc.size=50000
    
    # index setting
    
    # Codec type for the index.
    index.codec=default
    # Number of primary shards for the index.
    index.number_of_shards=5
    # Auto expand replicas setting for the index.
    index.auto_expand_replicas=0-1
    # Digest algorithm for index IDs.
    index.id.digest.algorithm=SHA-512
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 54.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SIDCacheImplTest.java

            jcifs.SID[] arr = new jcifs.SID[] { s1, s2, s3 };
    
            // First call should resolve two (offset=0,length=2)
            doAnswer(inv -> {
                // Simulate resolve call by setting names/types and thus enabling cache population
                Object[] args = inv.getArguments();
                String server = (String) args[0];
                CIFSContext c = (CIFSContext) args[1];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

                }
                if (SpnegoHttpFilter.Constants.ALLOW_BASIC.equals(name)) {
                    // SECURITY NOTE: Basic authentication is enabled by default for compatibility.
                    // For production, consider setting spnego.allow.basic to false.
                    return getProperty(SPNEGO_ALLOW_BASIC, "true");
                }
                if (SpnegoHttpFilter.Constants.ALLOW_UNSEC_BASIC.equals(name)) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.8K bytes
    - Viewed (3)
  8. src/main/java/jcifs/smb1/UniAddress.java

     * and {@link java.net.InetAddress}. The name resolution mechanisms
     * used will systematically query all available configured resolution
     * services including WINS, broadcasts, DNS, and LMHOSTS. See
     * <a href="../../resolver.html">Setting Name Resolution Properties</a>
     * and the <code>jcifs.smb1.resolveOrder</code> property. Changing
     * jCIFS name resolution properties can greatly affect the behavior of
     * the client and may be necessary for proper operation.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java

                    new String[] { SuggestConstants.DEFAULT_ROLE }, null, SuggestItem.Kind.QUERY);
    
            // Both Document and Query (simulated by setting both frequencies)
            String[][] readings3 = new String[1][];
            readings3[0] = new String[] { "both" };
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            try {
                passwordBytes = password.toUpperCase().getBytes(SmbConstants.OEM_ENCODING);
            } catch (final UnsupportedEncodingException uee) {
                throw new RuntimeException("Try setting jcifs.smb1.encoding=US-ASCII", uee);
            }
            int passwordLength = passwordBytes.length;
    
            // Only encrypt the first 14 bytes of the password for Pre 0.12 NT LM
            if (passwordLength > 14) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
Back to top