Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 46 for ESTABLISHED (0.51 sec)

  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());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/TreeConnectResponse.java

         *
         * @return whether the share is in DFS
         */
        boolean isShareDfs();
    
        /**
         * Indicates whether the tree connection has been successfully established and has a valid tree ID.
         *
         * @return whether the tree id is a valid one
         */
        boolean isValidTid();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComLogoffAndX.java

    import jcifs.internal.smb1.AndXServerMessageBlock;
    import jcifs.internal.smb1.ServerMessageBlock;
    
    /**
     * SMB1 Logoff AndX request message.
     *
     * This command is used to terminate a user session that was
     * previously established with a Session Setup AndX command.
     */
    public class SmbComLogoffAndX extends AndXServerMessageBlock {
    
        /**
         * Creates a new SMB1 logoff request to end a user session.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (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());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. 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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. 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
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

         * @throws CIFSException if an error occurs
         */
        @Override
        SmbPipeOutputStream getOutput() throws CIFSException;
    
        /**
         * Ensures that the tree connection is established and returns it.
         *
         * @return tree connection
         * @throws CIFSException if an error occurs connecting to the tree
         */
        SmbTreeHandleInternal ensureTreeConnected() throws CIFSException;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/Kerb5ContextTest.java

        @DisplayName("toString shows basic info when not established")
        void toString_notEstablished() throws Exception {
            when(gssContext.isEstablished()).thenReturn(false);
            String s = ctx.toString();
            assertTrue(s.startsWith("KERB5["));
            assertTrue(s.contains("src=null"));
        }
    
        @Test
        @DisplayName("toString shows names and mech when established")
        void toString_established_ok() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/transport/ConnectionTimeoutException.java

     */
    package jcifs.util.transport;
    
    /**
     * Exception thrown when a network connection times out during SMB communication.
     * Indicates that the connection could not be established within the specified timeout period.
     *
     * @author mbechler
     */
    public class ConnectionTimeoutException extends TransportException {
    
        /**
         *
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. 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) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top