Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for properties (0.25 sec)

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

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs;
    
    
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    import java.util.Properties;
    import java.util.StringTokenizer;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.context.SingletonContext;
    
    
    /**
     * This class now contains only utilities for config parsing.
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/AllTests.java

            String fname = config.getFileName().toString();
            if ( !fname.endsWith(".conf") ) {
                return;
            }
            Properties props = new Properties();
            try ( FileChannel ch = FileChannel.open(config, StandardOpenOption.READ);
                  InputStream is = Channels.newInputStream(ch) ) {
                props.load(is);
    
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 14.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/OplockTests.java

    @SuppressWarnings ( "javadoc" )
    @RunWith ( Parameterized.class )
    public class OplockTests extends BaseCIFSTest {
    
        /**
         * @param name
         * @param properties
         */
        public OplockTests ( String name, Map<String, String> properties ) {
            super(name, properties);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
            return getConfigs("smb1", "smb2", "smb30", "smb31");
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

        private boolean insecureBasic;
        private String realm;
    
        public void init( FilterConfig filterConfig ) throws ServletException {
            String name;
            int level;
    
            /* Set jcifs.smb1 properties we know we want; soTimeout and cachePolicy to 30min.
             */
            Config.setProperty( "jcifs.smb1.smb.client.soTimeout", "1800000" );
            Config.setProperty( "jcifs.smb1.netbios.cachePolicy", "1200" );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/FileOperationsTest.java

     *
     */
    @RunWith ( Parameterized.class )
    @SuppressWarnings ( "javadoc" )
    public class FileOperationsTest extends BaseCIFSTest {
    
        public FileOperationsTest ( String name, Map<String, String> properties ) {
            super(name, properties);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:17:59 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/ContextConfigTest.java

            Properties prop1 = new Properties();
            prop1.setProperty("jcifs.smb.client.minVersion", "SMB302");
            PropertyConfiguration p1 = new PropertyConfiguration(prop1);
            assertEquals(DialectVersion.SMB302, p1.getMinimumVersion());
            assertEquals(DialectVersion.SMB302, p1.getMaximumVersion());
    
            Properties prop2 = new Properties();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/config/PropertyConfiguration.java

     */
    package jcifs.config;
    
    
    import java.net.InetAddress;
    import java.util.Properties;
    
    import jcifs.CIFSException;
    import jcifs.Config;
    import jcifs.Configuration;
    import jcifs.DialectVersion;
    import jcifs.SmbConstants;
    
    
    /**
     * Configuration implementation reading the classic jcifs settings from properties
     * 
     * @author mbechler
     *
     */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/KerberosTest.java

    public class KerberosTest extends BaseCIFSTest {
    
        private static final Logger log = LoggerFactory.getLogger(KerberosTest.class);
    
    
        /**
         * @param properties
         */
        public KerberosTest ( String name, Map<String, String> properties ) {
            super(name, properties);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/RandomAccessFileTest.java

        private static final Logger log = LoggerFactory.getLogger(RandomAccessFileTest.class);
    
    
        /**
         * @param name
         * @param properties
         */
        public RandomAccessFileTest ( String name, Map<String, String> properties ) {
            super(name, properties);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 11.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/BaseCIFSTest.java

            Properties props = new Properties();
            props.putAll(this.properties);
            return new BaseContext(new PropertyConfiguration(props));
        }
    
    
        protected Map<String, String> getProperties () {
            return this.properties;
        }
    
    
        protected String getRequiredProperty ( String prop ) {
            String val = this.properties.get(prop);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.1K bytes
    - Viewed (0)
Back to top