- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for parseBinding (0.36 sec)
-
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) -
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) -
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) -
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) -
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)