Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for setProperties (0.07 sec)

  1. src/main/java/jcifs/smb1/Config.java

         * using the <tt>-Djcifs.properties=</tt> commandline parameter.
         */
    
        public static void setProperties( Properties prp ) {
            Config.prp = new Properties( prp );
            try {
                Config.prp.putAll( System.getProperties() );
            } catch( SecurityException se ) {
                if( log.level > 1 )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                } catch (Exception e) {
                    throw handleException(context, e);
                }
            } finally {
                Thread.currentThread().setContextClassLoader(oldCL);
                System.setProperties(oldProps);
            }
        }
    
        protected int doInvoke(C context) throws Exception {
            pushProperties(context);
            validate(context);
            prepare(context);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                if (sourceDominant) {
                    merged.putAll(target.getProperties());
                    putAll(merged, source.getProperties(), CHILD_DIRECTORY_PROPERTY);
                } else {
                    putAll(merged, source.getProperties(), CHILD_DIRECTORY_PROPERTY);
                    merged.putAll(target.getProperties());
                }
                builder.properties(merged);
                builder.location(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/DfsTest.java

        }
    
    
        private String getTestDfsTargetServer () {
            String dfsTargetServer = getProperties().get("test.server.dfs");
            if ( dfsTargetServer != null ) {
                return dfsTargetServer;
            }
            return getTestServer();
        }
    
    
        private String getTestDC () {
            String dfsTargetServer = getProperties().get("test.domain.dc");
            if ( dfsTargetServer != null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/AllTests.java

            Map<String, Map<String, String>> configs = new HashMap<>();
    
            if ( System.getProperties().containsKey(TestProperties.TEST_SERVER) ) {
                configs.put("properties", toMap(System.getProperties()));
            }
    
            if ( System.getProperties().containsKey(TestProperties.TEST_CONFIG_DIR) ) {
                try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 14.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/ReadWriteTest.java

        }
    
    
        private String getFifoPipeUrl () {
            String testFifoPipe = getProperties().get(TestProperties.TEST_FIFO_PIPE);
            Assume.assumeNotNull(testFifoPipe);
            return "smb://" + getTestServer() + "/IPC$/" + testFifoPipe;
        }
    
    
        private String getTransactPipeUrl () {
            String testTransactPipe = getProperties().get(TestProperties.TEST_TRANSACT_PIPE);
            Assume.assumeNotNull(testTransactPipe);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13.2K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            Model out = interpolator.interpolateModel(model, new File("."), createModelBuildingRequest(context), collector);
            assertProblemFree(collector);
    
            assertEquals("/path/to/home", out.getProperties().get("outputDirectory"));
        }
    
        @Test
        public void envarExpressionThatEvaluatesToNullReturnsTheLiteralString() throws Exception {
    
            Map<String, String> modelProperties = new HashMap<>();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

                    property.setValue(result.get(field.getKey()).getResult());
                    dispatcherConfig.addProperty(property);
                }
                if (!dispatcherConfig.getProperties().isEmpty()) {
                    config.addConfiguration(dispatcherConfig);
                }
            }
    
            if (yes) {
                secDispatcher.writeConfiguration(config);
            } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

            Map<String, String> properties = new HashMap<>();
            // Env variables prefixed with "env."
            System.getenv().forEach((k, v) -> properties.put("env." + k, v));
            // Java System properties
            System.getProperties().forEach((k, v) -> properties.put(k.toString(), v.toString()));
            // create session
            return create(Map.of(), properties);
        }
    
        /**
         * Create a new session.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/SessionTest.java

                checkConnection(f);
                f.resolve("test").exists();
            }
        }
    
    
        @Test
        public void logonUserHash () throws IOException {
            Assume.assumeTrue(Boolean.parseBoolean(getProperties().getOrDefault("jcifs.smb.client.useExtendedSecurity", "true")));
            byte[] hash = NtlmUtil.getNTHash(getTestUserPassword());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
Back to top