Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 124 for PROPERTIES (0.06 sec)

  1. src/test/resources/system.properties

    # Test system properties
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 46 bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/PropertyConfigurationTest.java

    @DisplayName("PropertyConfiguration Tests")
    class PropertyConfigurationTest extends BaseTest {
    
        @Mock
        private Properties mockProperties;
    
        private PropertyConfiguration config;
    
        @BeforeEach
        void setUp() throws CIFSException {
            Properties props = new Properties();
            // Set some default test properties
            props.setProperty("jcifs.smb.client.username", "testuser");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/rdma/RdmaConfigurationTest.java

    import java.util.Properties;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.CIFSException;
    import jcifs.config.PropertyConfiguration;
    
    /**
     * Test RDMA configuration properties
     */
    public class RdmaConfigurationTest {
    
        @Test
        public void testDefaultRdmaConfiguration() throws CIFSException {
            Properties props = new Properties();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

        }
    
        // Test custom properties
        public void xtest_customProperties() {
            // Create custom FessEnv with custom properties
            FessEnv.SimpleImpl customEnv = new FessEnv.SimpleImpl() {
                protected Properties prepareProperties() {
                    Properties props = new Properties();
                    props.setProperty(FessEnv.lasta_di_SMART_DEPLOY_MODE, "cool");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbConnectionTest.java

         */
        @Test
        @DisplayName("getBatchLimit returns correct values for different SMB commands")
        public void testBatchLimitForDifferentCommands() throws CIFSException {
            Properties props = new Properties();
            props.setProperty("jcifs.smb.client.useBatching", "true");
            props.setProperty("jcifs.smb.client.useUnicode", "true");
    
            PropertyConfiguration config = new PropertyConfiguration(props);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/Config.java

        /**
         * Set the default properties of the static Properties used by <code>Config</code>. This permits
         * a different Properties object/file to be used as the source of properties for
         * use by the jCIFS library. The Properties must be set <i>before jCIFS
         * classes are accessed</i> as most jCIFS classes load properties statically once.
         * Using this method will also override properties loaded
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/context/SingletonContext.java

        /**
         * Initialize singleton context using custom properties
         *
         * This method can only be called once.
         *
         * @param props the properties to use for initialization
         * @throws CIFSException if the singleton context is already initialized or there is an error during initialization
         */
        public static synchronized final void init(final Properties props) throws CIFSException {
            if (INSTANCE != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

    import java.util.Properties;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.CIFSException;
    
    /**
     * Unit tests for Multi-Channel configuration properties
     */
    class MultiChannelConfigurationTest {
    
        @Test
        void testDefaultMultiChannelSettings() throws CIFSException {
            PropertyConfiguration config = new PropertyConfiguration(new Properties());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/Config.java

            }
            return def;
        }
    
        /**
         * Get the local host address based on the provided properties.
         *
         * @param props the properties to use for configuration
         * @return the local host InetAddress
         */
        public static InetAddress getLocalHost(final Properties props) {
            final String addr = props.getProperty("jcifs.smb.client.laddr");
    
            if (addr != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. README.md

    jcifs.smb.client.disablePlainTextPasswords=true
    
    # Performance
    jcifs.smb.client.useBatching=true
    jcifs.smb.client.useUnicode=true
    jcifs.smb.client.maxMpxCount=10
    ```
    
    ### Usage with Properties
    
    ```java
    Properties props = new Properties();
    props.setProperty("jcifs.smb.client.domain", "MYDOMAIN");
    props.setProperty("jcifs.smb.client.useLeases", "true");
    
    Configuration config = new PropertyConfiguration(props);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top