Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for parseBinding (0.36 sec)

  1. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                assertThrows(DcerpcException.class, () -> DcerpcHandle.parseBinding(url));
            }
    
            @Test
            @DisplayName("Should handle binding URLs without endpoints correctly")
            void testParseBindingWithoutEndpoint() {
                // When/Then: URLs without proper endpoints should fail
                assertThrows(DcerpcException.class, () -> DcerpcHandle.parseBinding("ncacn_np:server"));
            }
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

         */
        public DcerpcPipeHandle(String url, final NtlmPasswordAuthentication auth)
                throws UnknownHostException, MalformedURLException, DcerpcException {
            binding = DcerpcHandle.parseBinding(url);
            url = "smb1://" + binding.server + "/IPC$/" + binding.endpoint.substring(6);
    
            String params = "", server, address;
            server = (String) binding.getOption("server");
            if (server != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

         */
        public DcerpcPipeHandle(final String url, final CIFSContext tc, final boolean unshared) throws DcerpcException, MalformedURLException {
            super(tc, DcerpcHandle.parseBinding(url));
            this.pipe = new SmbNamedPipe(makePipeUrl(), pipeFlags, unshared, tc);
            this.handle = this.pipe.openPipe().unwrap(SmbPipeHandleInternal.class);
        }
    
        private String makePipeUrl() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

         * @param str the binding string to parse
         * @return the parsed DcerpcBinding object
         * @throws DcerpcException if the binding string is malformed
         */
        protected static DcerpcBinding parseBinding(final String str) throws DcerpcException {
            int state, mark, si;
            final char[] arr = str.toCharArray();
            String proto = null, key = null;
            DcerpcBinding binding = null;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcHandle.java

         * @param str the binding string to parse
         * @return the parsed DcerpcBinding object
         * @throws DcerpcException if the binding string is malformed
         */
        protected static DcerpcBinding parseBinding(final String str) throws DcerpcException {
            int state, mark, si;
            final char[] arr = str.toCharArray();
            String proto = null, key = null;
            DcerpcBinding binding = null;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top