Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for getFlag (0.1 sec)

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

                            || !msg2.getFlag(NtlmFlags.NTLMSSP_NEGOTIATE_EXTENDED_SESSIONSECURITY))) {
                        throw new SmbUnsupportedOperationException("Server does not support extended NTLMv2 key exchange");
                    }
    
                    if (!msg2.getFlag(NtlmFlags.NTLMSSP_NEGOTIATE_128)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/witness/WitnessNotificationTest.java

            assertEquals(WitnessNotification.WitnessIPAddress.IPV4, newIPv4.getFlags());
    
            // Check IPv6 address
            WitnessNotification.WitnessIPAddress newIPv6 = newAddresses.get(1);
            assertEquals(ipv6, newIPv6.getAddress());
            assertFalse(newIPv6.isIPv4());
            assertTrue(newIPv6.isIPv6());
            assertEquals(WitnessNotification.WitnessIPAddress.IPV6, newIPv6.getFlags());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java

            registration.setFlags(WitnessRegistration.WITNESS_REGISTER_NONE);
            assertEquals(WitnessRegistration.WITNESS_REGISTER_NONE, registration.getFlags());
    
            registration.setFlags(WitnessRegistration.WITNESS_REGISTER_IP_NOTIFICATION);
            assertEquals(WitnessRegistration.WITNESS_REGISTER_IP_NOTIFICATION, registration.getFlags());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

            assertEquals(encodedSize, decodedSize);
            assertArrayEquals(context.getCompressionAlgorithms(), decodedContext.getCompressionAlgorithms());
            assertEquals(context.getFlags(), decodedContext.getFlags());
        }
    
        @Test
        @DisplayName("Test invalid buffer size for decoding")
        public void testInvalidBufferSize() {
            byte[] smallBuffer = new byte[4]; // Too small
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessNotification.java

            public InetAddress getAddress() {
                return address;
            }
    
            /**
             * Gets the address flags.
             *
             * @return the flags
             */
            public int getFlags() {
                return flags;
            }
    
            /**
             * Checks if this is an IPv4 address.
             *
             * @return true if IPv4
             */
            public boolean isIPv4() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessRegisterRequest.java

        public void setServerAddress(String serverAddress) {
            this.serverAddress = serverAddress;
        }
    
        /**
         * Gets the registration flags.
         *
         * @return the flags
         */
        public int getFlags() {
            return flags;
        }
    
        /**
         * Sets the registration flags.
         *
         * @param flags the flags
         */
        public void setFlags(int flags) {
            this.flags = flags;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java

            assertEquals(0, request.getTimeoutMs());
            assertTrue(request.isPersistent());
            assertEquals(Smb2HandleCapabilities.SMB2_DHANDLE_FLAG_PERSISTENT,
                    request.getFlags() & Smb2HandleCapabilities.SMB2_DHANDLE_FLAG_PERSISTENT);
        }
    
        @Test
        public void testDurableHandleV2RequestWithGuid() {
            HandleGuid guid = new HandleGuid();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java

            // 1 ms = 10,000 * 100ns intervals
            return timeout100Ns / 10000L;
        }
    
        /**
         * Get the flags
         * @return the flags
         */
        public int getFlags() {
            return flags;
        }
    
        /**
         * Check if this is a persistent handle
         * @return true if persistent
         */
        public boolean isPersistent() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

        /**
         * Gets the flags field which contains flags in SMB 3.1.1 or encryption algorithm ID in SMB 3.0/3.0.2
         *
         * @return the flags (SMB 3.1.1) or encryption algorithm (SMB 3.0/3.0.2)
         */
        public int getFlags() {
            return this.flags;
        }
    
        /**
         * Sets the flags field which contains flags in SMB 3.1.1 or encryption algorithm ID in SMB 3.0/3.0.2
         *
         * @param flags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/JcifsEngine.java

            } catch (final IOException exception) {
                throw new NTLMEngineException("Invalid NTLM type 2 message", exception);
            }
            final int type2Flags = type2Message.getFlags();
            final int type3Flags = type2Flags & (0xffffffff ^ (NtlmFlags.NTLMSSP_TARGET_TYPE_DOMAIN | NtlmFlags.NTLMSSP_TARGET_TYPE_SERVER));
            try {
                final Type3Message type3Message =
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top