Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 90 for _getConfig (0.09 sec)

  1. src/test/java/jcifs/tests/FileAttributesTest.java

                try {
                    long time = System.currentTimeMillis() - 1000 * 60 * 60 * 12;
                    f.setLastModified(time);
    
                    if ( ( getContext().getConfig().getCapabilities() & SmbConstants.CAP_NT_SMBS ) == 0 ) {
                        // only have second precision
                        // there seems to be some random factor (adding one second)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/SessionTest.java

            }
        }
    
    
        @Test
        public void logonGuestAlternative () throws IOException {
    
            CIFSContext ctx = getContext();
            ctx = withConfig(ctx, new DelegatingConfiguration(ctx.getConfig()) {
    
                @Override
                public String getGuestUsername () {
                    return "jcifs-guest";
                }
            }).withGuestCrendentials();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

         */
        @Override
        protected Smb2ChangeNotifyResponse createResponse ( CIFSContext tc, ServerMessageBlock2Request<Smb2ChangeNotifyResponse> req ) {
            return new Smb2ChangeNotifyResponse(tc.getConfig());
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         */
        @Override
        public void setExpiration ( Long exp ) {
            this.expiration = exp;
        }
    
    
        /**
         * @return the config
         */
        protected final Configuration getConfig () {
            return this.config;
        }
    
    
        /**
         * 
         */
        @Override
        public void reset () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

         */
        @Override
        protected Smb2NegotiateResponse createResponse ( CIFSContext tc, ServerMessageBlock2Request<Smb2NegotiateResponse> req ) {
            return new Smb2NegotiateResponse(tc.getConfig());
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/DfsTest.java

            }
            return getTestServer();
        }
    
    
        @Override
        @Before
        public void setUp () throws Exception {
            super.setUp();
            Assume.assumeFalse(getContext().getConfig().isDfsDisabled());
        }
    
    
        @Test
        public void resolveDC () throws CIFSException {
            CIFSContext context = withAnonymousCredentials();
            DfsResolver dfs = context.getDfs();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 13.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                            log.debug("Unknown host", uhe);
                            if ( this.ctx.getConfig().getDefaultDomain() == null ) {
                                throw uhe;
                            }
                            this.addresses = this.ctx.getNameServiceClient().getAllByName(this.ctx.getConfig().getDefaultDomain(), true);
                        }
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

            this.fileId = fileId;
        }
    
    
        @Override
        protected Smb2WriteResponse createResponse ( CIFSContext tc, ServerMessageBlock2Request<Smb2WriteResponse> req ) {
            return new Smb2WriteResponse(tc.getConfig());
        }
    
    
        /**
         * @param data
         *            the data to set
         * @param offset
         * @param length
         */
        public void setData ( byte[] data, int offset, int length ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

         */
        @Override
        public SmbComNTCreateAndXResponse initResponse ( CIFSContext tc ) {
            SmbComNTCreateAndXResponse resp = new SmbComNTCreateAndXResponse(tc.getConfig());
            setResponse(resp);
            return resp;
        }
    
    
        /**
         * @param fl
         *            the flags0 to set
         */
        public final void addFlags0 ( int fl ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

         */
        @Override
        protected Smb2QueryDirectoryResponse createResponse ( CIFSContext tc, ServerMessageBlock2Request<Smb2QueryDirectoryResponse> req ) {
            return new Smb2QueryDirectoryResponse(tc.getConfig(), this.fileInformationClass);
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#size()
         */
        @Override
        public int size () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 10:41:31 UTC 2021
    - 6K bytes
    - Viewed (0)
Back to top