Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 966 for contextos (0.04 sec)

  1. src/main/java/jcifs/CIFSContext.java

     */
    package jcifs;
    
    import java.net.URLStreamHandler;
    
    /**
     * Encapsulation of client context
     *
     *
     * A context holds the client configuration, shared services as well as the active credentials.
     *
     * Usually you will want to create one context per client configuration and then
     * multiple sub-contexts using different credentials (if necessary).
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

        @Test
        @DisplayName("Should return negotiate contexts")
        void testGetNegotiateContexts() throws Exception {
            // Given
            NegotiateContextResponse[] contexts = new NegotiateContextResponse[2];
            contexts[0] = new EncryptionNegotiateContext();
            contexts[1] = new PreauthIntegrityNegotiateContext();
            setPrivateField(response, "negotiateContexts", contexts);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

                this.createContexts = contexts.toArray(new CreateContextResponse[0]);
            }
    
            if (log.isDebugEnabled()) {
                log.debug("Opened " + this.fileName + ": " + Hexdump.toHexString(this.fileId));
            }
    
            return bufferIndex - start;
        }
    
        /**
         * Factory method to create appropriate context response based on context name
         * @param nameBytes context name bytes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                    if (dataLen < 0 || dataLen > 1024) { // 1KB max per context
                        throw new SMBProtocolDecodingException(
                                "Invalid negotiate context data length: " + dataLen + " at position " + i + " (must be 0-1024)");
                    }
    
                    ncpos += 4;
                    ncpos += 4; // Reserved
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  5. docs/SMB3_IMPLEMENTATION_PLAN.md

    - [ ] Implement lease key generation and management
    - [ ] Add lease context to Create request/response
    - [ ] Implement lease break notification handling
    - [ ] Modify SmbFile to support lease-based caching
    - [ ] Add lease upgrade/downgrade logic
    - [ ] Implement lease epoch tracking for v2 leases
    
    #### 1.3 Integration Points
    - Modify `Smb2CreateRequest` to include lease contexts
    - Update `SmbFile` caching logic to use leases
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/nego/NegotiateContextResponse.java

    import jcifs.Decodable;
    
    /**
     * SMB2 Negotiate Context response data structure.
     *
     * This class represents negotiate contexts returned by the server
     * in response to negotiate context requests.
     *
     * @author mbechler
     */
    public interface NegotiateContextResponse extends Decodable {
    
        /**
         * Gets the negotiate context type.
         *
         * @return the SMB2 negotiate context type
         */
        int getContextType();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            // Context with share and at root
            SmbResourceLocatorImpl base2 = locator("smb://server/share/");
            SmbResourceLocator context2 = mock(SmbResourceLocator.class);
            when(context2.getShare()).thenReturn("share");
            when(context2.getDfsReferral()).thenReturn(null);
            when(context2.getUNCPath()).thenReturn("\\");
            when(context2.getURLPath()).thenReturn("/share/");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. cmd/api-response.go

    			content.StorageClass = filterStorageClass(ctx, object.StorageClass)
    		} else {
    			content.StorageClass = globalMinioDefaultStorageClass
    		}
    		content.Owner = owner
    		contents = append(contents, content)
    	}
    	data.Name = bucket
    	data.Contents = contents
    
    	data.EncodingType = encodingType
    	data.Prefix = s3EncodeName(prefix, encodingType)
    	data.Marker = s3EncodeName(marker, encodingType)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/NegotiateContextRequest.java

    import jcifs.Encodable;
    
    /**
     * SMB2 Negotiate Context request data structure.
     *
     * This class represents negotiate contexts used in SMB 3.1.1
     * for capability negotiation and security enhancements.
     *
     * @author mbechler
     */
    public interface NegotiateContextRequest extends Encodable {
    
        /**
         * Gets the negotiate context type.
         *
         * @return the SMB2 negotiate context type
         */
        int getContextType();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            i += 4;
    
            assert i == body.length;
            return body;
        }
    
        /**
         * Build a CREATE response body with a single, unrecognized create context.
         * The parser should iterate it but produce an empty contexts array.
         */
        private static byte[] buildCreateBodyWithContext(byte[] fileId, int contextStartOffsetFromHeader) {
            // Base body part size (up to and including CreateContextsLength)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top