Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setOptions (0.22 sec)

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

            assertEquals("80", dcerpcBinding.getOptions().get("connect"), "Option value should be set correctly.");
        }
    
        @Test
        void testGetOptionEndpoint() throws DcerpcException {
            String endpoint = "\\pipe\\srvsvc";
            dcerpcBinding.setOption("endpoint", endpoint);
            assertEquals(endpoint, dcerpcBinding.getOption("endpoint"), "Should return the set endpoint.");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/DcerpcBinding.java

         */
        public String getProto() {
            return this.proto;
        }
    
        /**
         * Get the options for this binding.
         * @return the options
         */
        public Map<String, Object> getOptions() {
            return this.options;
        }
    
        /**
         * Get the server for this binding.
         * @return the server
         */
        public String getServer() {
            return this.server;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            assertEquals(LoginModuleControlFlag.REQUIRED, e.getControlFlag(), "Control flag should be REQUIRED");
            assertNotNull(e.getOptions(), "Options map should not be null");
            assertTrue(e.getOptions().isEmpty(), "Default options should be empty");
        }
    
        @ParameterizedTest
        @NullSource
        @ValueSource(strings = { "", "svc/******@****.***" })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java

        UUID uuid = null;
        int major;
        int minor;
    
        DcerpcBinding(final String proto, final String server) {
            this.proto = proto;
            this.server = server;
        }
    
        void setOption(final String key, final Object val) throws DcerpcException {
            if (key.equals("endpoint")) {
                endpoint = val.toString();
                final String lep = endpoint.toLowerCase();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top