Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 131 for establish (0.06 seconds)

  1. src/test/java/jcifs/smb/SpnegoContextTest.java

        }
    
        @Test
        @DisplayName("calculateMIC throws when context not established")
        void testCalculateMICRequiresEstablished() throws Exception {
            SpnegoContext ctx = newContext();
            CIFSException ex = assertThrows(CIFSException.class, () -> ctx.calculateMIC(new byte[] { 1 }));
            assertEquals("Context is not established", ex.getMessage());
            verify(this.mechContext, never()).calculateMIC(any());
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

         * Set channel state
         *
         * @param state new state
         */
        public void setState(ChannelState state) {
            this.state = state;
        }
    
        /**
         * Get the time when channel was established
         *
         * @return establishment time in milliseconds
         */
        public long getEstablishedTime() {
            return establishedTime;
        }
    
        /**
         * Get the last activity time
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 Session Setup AndX Response message.
     *
     * This response contains information about the established session,
     * including native OS, LAN manager, and primary domain information.
     */
    public class SmbComSessionSetupAndXResponse extends AndXServerMessageBlock {
    
        private String nativeOs = "";
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            channel.setState(ChannelState.ESTABLISHED);
    
            // Verify channel properties
            assertEquals("test-channel", channel.getChannelId());
            assertEquals(mockTransport, channel.getTransport());
            assertEquals(localNic, channel.getLocalInterface());
            assertEquals(remoteNic, channel.getRemoteInterface());
            assertEquals(ChannelState.ESTABLISHED, channel.getState());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

            channel1 = new ChannelInfo("channel1", mockTransport1, local, remote1);
            channel1.setState(ChannelState.ESTABLISHED);
    
            channel2 = new ChannelInfo("channel2", mockTransport2, local, remote2);
            channel2.setState(ChannelState.ESTABLISHED);
        }
    
        @Test
        void testSingleChannelSelection() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/NtlmContext.java

            }
            ret.append("]");
            return ret.toString();
        }
    
        /**
         * Checks whether the security context is established.
         * @return true if the context is established, false otherwise
         */
        public boolean isEstablished() {
            return isEstablished;
        }
    
        /**
         * Gets the server's NTLM challenge bytes.
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. VULNERABILITY_REPORT.md

    - The project / component that contains the reported vulnerability.
    - A description of the vulnerability. In particular, the type of the
       reported vulnerability and how it might be exploited. Alternatively,
       a well-established vulnerability identifier, e.g. CVE number, can be
       used instead.
    
    Based on the description mentioned above, a MinIO engineer or security team
    member investigates:
    
    - Whether the reported vulnerability exists.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Feb 12 00:51:25 GMT 2022
    - 1.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SSPContext.java

         * @throws CIFSException if an error occurs retrieving the signing key
         */
        byte[] getSigningKey() throws CIFSException;
    
        /**
         * Checks whether the security context is established.
         * @return whether the context is established
         */
        boolean isEstablished();
    
        /**
         * Initializes the security context with the given token.
         * @param token the input token bytes
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SpnegoContext.java

            } else {
                throw new SmbException("Invalid token");
            }
    
            if (spToken instanceof final NegTokenTarg targ && this.mechContext.isEstablished()) {
                // already established, but server hasn't completed yet
                if (targ.getResult() == NegTokenTarg.ACCEPT_INCOMPLETE && targ.getMechanismToken() == null
                        && targ.getMechanismListMIC() != null) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/rdma/RdmaProvider.java

        /**
         * Connect to a remote RDMA endpoint
         *
         * @param hostname remote hostname or IP address
         * @param port remote port number
         * @return established RDMA connection
         * @throws IOException if connection fails
         */
        RdmaConnection connect(String hostname, int port) throws IOException;
    
        /**
         * Register memory region for RDMA operations
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top