Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 45 for NtlmPasswordAuthentication (0.1 sec)

  1. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.net.UnknownHostException;
    import java.security.Principal;
    
    import jcifs.smb1.dcerpc.ndr.NdrBuffer;
    import jcifs.smb1.smb1.NtlmPasswordAuthentication;
    
    /**
     * Abstract base class for DCERPC handles providing core RPC functionality.
     * This class manages DCE/RPC protocol bindings and communications over SMB transport.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            return d ? this.domain + "\\" + this.username : this.username;
        }
    
        /**
         * Compares two <code>NtlmPasswordAuthentication</code> objects for equality.
         *
         * Two <code>NtlmPasswordAuthentication</code> objects are equal if their caseless domain and username fields are equal
         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/NtlmContext.java

     */
    
    public class NtlmContext {
    
        NtlmPasswordAuthentication auth;
        int ntlmsspFlags;
        String workstation;
        boolean isEstablished = false;
        byte[] serverChallenge = null;
        byte[] signingKey = null;
        String netbiosName = null;
        int state = 1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NetworkExplorer.java

                    ntlm = new NtlmPasswordAuthentication(getTransportContext(), domain, user, password);
                }
    
                req.getSession().setAttribute("npa-" + server, ntlm);
    
            } else if (!this.credentialsSupplied) {
                if (ssn != null) {
                    ntlm = (NtlmPasswordAuthentication) ssn.getAttribute("npa-" + server);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                    user = index != -1 ? user.substring(index + 1) : user;
                    ntlm = new NtlmPasswordAuthentication(domain, user, password);
                }
    
                req.getSession().setAttribute("npa-" + server, ntlm);
    
            } else if (!credentialsSupplied) {
                if (ssn != null) {
                    ntlm = (NtlmPasswordAuthentication) ssn.getAttribute("npa-" + server);
                }
                if (ntlm == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                        message.setFlag(NtlmFlags.NTLMSSP_REQUEST_TARGET, true);
                    }
                } else if (this.transportContext.getCredentials() instanceof NtlmPasswordAuthentication) {
                    final NtlmPasswordAuthentication npa = (NtlmPasswordAuthentication) this.transportContext.getCredentials();
                    String domain = npa.getUserDomain();
                    String user = !npa.isAnonymous() ? npa.getUsername() : null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

     * using mocks where necessary.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbFileTest {
    
        @Mock
        private NtlmPasswordAuthentication mockAuth;
    
        @BeforeEach
        public void setUp() {
            // Static mocks or initializations can be done here if necessary
            // For now, we rely on instance mocks provided by MockitoExtension
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

    import org.codelibs.fess.crawler.helper.MimeTypeHelper;
    
    import jakarta.annotation.Resource;
    import org.codelibs.jcifs.smb1.Config;
    import org.codelibs.jcifs.smb1.ACE;
    import org.codelibs.jcifs.smb1.NtlmPasswordAuthentication;
    import org.codelibs.jcifs.smb1.SID;
    import org.codelibs.jcifs.smb1.SmbException;
    import org.codelibs.jcifs.smb1.SmbFile;
    import org.codelibs.jcifs.smb1.SmbFileInputStream;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

         * @throws MalformedURLException if the URL is not properly formatted
         * @throws UnknownHostException if the host cannot be resolved
         */
        public SmbNamedPipe(final String url, final int pipeType, final NtlmPasswordAuthentication auth)
                throws MalformedURLException, UnknownHostException {
            super(url, auth);
            this.pipeType = pipeType;
            type = TYPE_NAMED_PIPE;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SigningDigest.java

         * @param auth the NTLM password authentication credentials
         * @throws SmbException if MD5 algorithm is not available or key generation fails
         */
        public SigningDigest(final SmbTransport transport, final NtlmPasswordAuthentication auth) throws SmbException {
            try {
                digest = MessageDigest.getInstance("MD5");
            } catch (final NoSuchAlgorithmException ex) {
                if (LogStream.level > 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top