Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for withGuestCrendentials (0.18 sec)

  1. src/main/java/jcifs/context/AbstractCIFSContext.java

            return withCredentials(getDefaultCredentials());
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#withGuestCrendentials()
         */
        @Override
        public CIFSContext withGuestCrendentials () {
            return withCredentials(new NtlmPasswordAuthenticator(null, null, null, AuthenticationType.GUEST));
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 3.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/context/CIFSContextWrapper.java

        public CIFSContext withAnonymousCredentials () {
            return wrap(this.delegate.withAnonymousCredentials());
        }
    
    
        @Override
        public CIFSContext withGuestCrendentials () {
            return wrap(this.delegate.withGuestCrendentials());
        }
    
    
        @Override
        public boolean renewCredentials ( String locationHint, Throwable error ) {
            return this.delegate.renewCredentials(locationHint, error);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/CIFSContext.java

         */
        CIFSContext withAnonymousCredentials ();
    
    
        /**
         * 
         * @return a child context using guest credentials
         */
        CIFSContext withGuestCrendentials ();
    
    
        /**
         * 
         * @param creds
         * @return a child context using using the given credentials
         */
        CIFSContext withCredentials ( Credentials creds );
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/BaseCIFSTest.java

        }
    
    
        protected CIFSContext withTestGuestCredentials () {
            return getContext().withGuestCrendentials();
        }
    
    
        protected CIFSContext withAnonymousCredentials () {
            return getContext().withAnonymousCredentials();
        }
    
    
        protected String getTestDomain () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/ContextConfigTest.java

            assertNotNull(this.context.getCredentials());
        }
    
    
        @Test
        @SuppressWarnings ( "deprecation" )
        public void testFixedCredentials () {
            Credentials guestCreds = this.context.withGuestCrendentials().getCredentials();
            assertThat(guestCreds, CoreMatchers.is(CoreMatchers.instanceOf(NtlmPasswordAuthenticator.class)));
            NtlmPasswordAuthenticator ntlmGuestCreds = guestCreds.unwrap(NtlmPasswordAuthenticator.class);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/SessionTest.java

                @Override
                public String getGuestUsername () {
                    return "jcifs-guest";
                }
            }).withGuestCrendentials();
    
            try ( SmbResource f = new SmbFile(getTestShareGuestURL(), ctx) ) {
                checkConnection(f);
            }
            catch ( SmbAuthException e ) {
                ignoreAuthFailure(e);
            }
    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