- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for parseBinding (0.11 seconds)
-
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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.7K bytes - Click Count (0) -
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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.9K bytes - Click Count (0) -
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.3K bytes - Click Count (0) -
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() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.6K bytes - Click Count (0) -
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) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.5K bytes - Click Count (0)