Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 281 for defined (0.57 sec)

  1. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect4.java

     */
    public class MsrpcSamrConnect4 extends samr.SamrConnect4 {
    
        /**
         * Creates a new request to connect to the SAM service.
         *
         * @param server the server name to connect to
         * @param access the desired access rights
         * @param policyHandle the policy handle to be populated
         */
        public MsrpcSamrConnect4(final String server, final int access, final SamrPolicyHandle policyHandle) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrOpenAlias.java

     */
    public class MsrpcSamrOpenAlias extends samr.SamrOpenAlias {
    
        /**
         * Creates a new request to open an alias handle.
         *
         * @param handle the domain handle
         * @param access the desired access rights
         * @param rid the relative identifier of the alias
         * @param aliasHandle the alias handle to be populated
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAlias.java

     */
    public class MsrpcSamrOpenAlias extends samr.SamrOpenAlias {
    
        /**
         * Creates a new request to open an alias handle.
         *
         * @param handle the domain handle
         * @param access the desired access rights
         * @param rid the relative identifier of the alias
         * @param aliasHandle the alias handle to be populated
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java

            RequestTimeoutException exception = new RequestTimeoutException(cause);
            assertEquals("java.lang.RuntimeException: Root cause", exception.getMessage(), "Message should be derived from the cause");
            assertEquals(cause, exception.getCause(), "Cause should match the provided throwable");
        }
    
        @Test
        void testMessageAndCauseConstructor() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        }
    
        @Test
        @DisplayName("Test desired access setter")
        void testSetDesiredAccess() {
            request = new Smb2CreateRequest(mockConfig, "test.txt");
    
            int access = 0x12345678;
            request.setDesiredAccess(access);
    
            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, 0);
    
            // Read desired access from buffer (offset 24-27 after 8 bytes reserved)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarOpenPolicy2.java

    public class MsrpcLsarOpenPolicy2 extends lsarpc.LsarOpenPolicy2 {
    
        /**
         * Creates a new request to open an LSA policy handle.
         *
         * @param server the server name to connect to
         * @param access the desired access rights
         * @param policyHandle the policy handle to be populated
         */
        public MsrpcLsarOpenPolicy2(final String server, final int access, final LsaPolicyHandle policyHandle) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            // Arrange
            SmbFile dest = mock(SmbFile.class);
            SmbFileHandleImpl handle = mock(SmbFileHandleImpl.class);
            SmbAuthException authEx = new SmbAuthException("denied");
    
            when(dest.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenThrow(authEx) // first attempt fails with auth
                    .thenReturn(handle); // second attempt succeeds
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            this.start = this.index = start;
            this.length = 0;
            this.deferred = this;
        }
    
        /**
         * Creates a derived NdrBuffer at the specified index position.
         *
         * @param idx the index position for the derived buffer
         * @return the derived NdrBuffer
         */
        public NdrBuffer derive(final int idx) {
            final NdrBuffer nb = new NdrBuffer(this.buf, this.start);
            nb.index = idx;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/SamrAliasHandle.java

        /**
         * Creates a new SAM alias handle.
         *
         * @param handle the DCE/RPC handle for communication
         * @param domainHandle the domain handle containing this alias
         * @param access the desired access rights
         * @param rid the relative identifier of the alias
         * @throws IOException if an I/O error occurs during handle creation
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/CIFSContextTest.java

     */
    @DisplayName("CIFSContext Tests")
    class CIFSContextTest extends BaseTest {
    
        @Mock
        private CIFSContext mockContext;
    
        @Test
        @DisplayName("Should define interface methods")
        void testCIFSContextInterface() {
            // Verify interface methods exist
            assertDoesNotThrow(() -> {
                mockContext.get("smb://server/share");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top