Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for NtlmPasswordAuthenticator (0.18 sec)

  1. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            return ntlmContext;
        }
    
    
        @Override
        public NtlmPasswordAuthenticator clone () {
            NtlmPasswordAuthenticator cloned = new NtlmPasswordAuthenticator();
            cloneInternal(cloned, this);
            return cloned;
        }
    
    
        protected static void cloneInternal ( NtlmPasswordAuthenticator cloned, NtlmPasswordAuthenticator toClone ) {
            cloned.domain = toClone.domain;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java

            this.ntHash = passwordHash;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.NtlmPasswordAuthenticator#getNTHash()
         */
        @Override
        protected byte[] getNTHash () {
            return this.ntHash;
        }
    
    
        @Override
        public NtlmPasswordAuthenticator clone () {
            NtlmNtHashAuthenticator cloned = new NtlmNtHashAuthenticator(this.ntHash.clone());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/ContextConfigTest.java

            CIFSContext testCtx = this.context.withCredentials(new NtlmPasswordAuthenticator("TEST", "test-user", "test-pw"));
            Credentials setCreds = testCtx.getCredentials();
            assertThat(setCreds, CoreMatchers.is(CoreMatchers.instanceOf(NtlmPasswordAuthenticator.class)));
            NtlmPasswordAuthenticator setCredsNtlm = setCreds.unwrap(NtlmPasswordAuthenticator.class);
            assertEquals("TEST", setCredsNtlm.getUserDomain());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmAuthenticator.java

         */
        public static NtlmPasswordAuthenticator requestNtlmPasswordAuthentication ( String url, SmbAuthException sae ) {
            return requestNtlmPasswordAuthentication(auth, url, sae);
        }
    
    
        /**
         * @param a
         * @param url
         * @param sae
         * @return credentials returned by prompt
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

     * <p>
     * Read <a href="../../../authhandler.html">jCIFS Exceptions and
     * NtlmAuthenticator</a> for related information.
     * 
     * @deprecated use {@link NtlmPasswordAuthenticator} instead
     */
    @Deprecated
    public class NtlmPasswordAuthentication extends NtlmPasswordAuthenticator {
    
        /**
         * 
         */
        private static final long serialVersionUID = -2832037191318016836L;
    
        private byte[] ansiHash;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/context/AbstractCIFSContext.java

    package jcifs.context;
    
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Credentials;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.NtlmPasswordAuthenticator.AuthenticationType;
    
    
    /**
     * @author mbechler
     *
     */
    public abstract class AbstractCIFSContext extends Thread implements CIFSContext {
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 3.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            if ( this.server.security == SmbConstants.SECURITY_SHARE && this.ctx.getCredentials() instanceof NtlmPasswordAuthenticator ) {
                NtlmPasswordAuthenticator pwAuth = (NtlmPasswordAuthenticator) this.ctx.getCredentials();
                if ( isExternalAuth(pwAuth) ) {
                    this.passwordLength = 1;
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                        accessTimeoutTask.cancel();
                    }
                }
            }
        }
    
        protected NtlmPasswordAuthenticator getAuthenticator(final SmbAuthentication smbAuthentication) {
            return new NtlmPasswordAuthenticator(smbAuthentication.getDomain() == null ? "" : smbAuthentication.getDomain(),
                    smbAuthentication.getUsername(), smbAuthentication.getPassword());
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 23 01:54:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

            ServerData server = negotiated.getServerData();
            if ( server.security == SmbConstants.SECURITY_USER ) {
                if ( cred instanceof NtlmPasswordAuthenticator ) {
                    NtlmPasswordAuthenticator a = (NtlmPasswordAuthenticator) cred;
                    if ( a.isAnonymous() ) {
                        this.lmHash = new byte[0];
                        this.ntHash = new byte[0];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 17 10:20:23 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/SessionTest.java

                assertFalse(creds.isAnonymous());
                assertFalse(creds.isGuest());
                assertTrue(creds instanceof NtlmPasswordAuthenticator);
                NtlmPasswordAuthenticator ntcreds = (NtlmPasswordAuthenticator) creds;
    
                assertNotNull(ntcreds.getUsername());
                assertEquals(user, ntcreds.getUsername());
                assertNotNull(ntcreds.getUserDomain());
    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