Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getSmbSession (0.18 sec)

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

                                .unwrap(SmbTransportInternal.class);
                        final SmbTransportInternal trans = this.exclusiveTransport;
                        try (SmbSessionInternal smbSession = trans.getSmbSession(this.ctx, host, targetDomain).unwrap(SmbSessionInternal.class);
                                SmbTreeImpl uct = smbSession.getSmbTree(share, null).unwrap(SmbTreeImpl.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

         */
        @Override
        public SmbSessionImpl getSmbSession(final CIFSContext tf) {
            return getSmbSession(tf, null, null);
        }
    
        /**
         *
         * @param tf
         *            context to use
         * @return a session for the context
         */
        @Override
        @SuppressWarnings("resource")
        public synchronized SmbSessionImpl getSmbSession(final CIFSContext tf, String targetHost, String targetDomain) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmHttpFilter.java

                             not specified. SMB signing may not work propertly.\
                              Skipping DC interrogation.""");
                } else {
                    try (SmbSessionInternal ssn = trans.getSmbSession(tf.withDefaultCredentials()).unwrap(SmbSessionInternal.class)) {
                        ssn.treeConnectLogon();
                    }
                }
                return new NtlmChallenge(trans.getServerEncryptionKey(), dc);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            SmbTreeInternal tree = mock(SmbTreeInternal.class);
    
            when(mockTransport.unwrap(SmbTransportInternal.class)).thenReturn(internal);
            when(internal.getSmbSession(eq(ctx), eq("server.test"), isNull())).thenReturn(session);
            when(session.unwrap(SmbSessionInternal.class)).thenReturn(session);
            when(session.getSmbTree(eq("IPC$"), isNull())).thenReturn(tree);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                    .getSmbTransport(tf, dc, port, false, tf.getConfig().isIpcSigningEnforced())
                    .unwrap(SmbTransportInternal.class);
                    SmbSessionInternal smbSession = smbTransport.getSmbSession(tf, dc.getHostName(), null).unwrap(SmbSessionInternal.class);
                    SmbTreeInternal tree = smbSession.getSmbTree(tf.getConfig().getLogonShare(), null).unwrap(SmbTreeInternal.class)) {
                tree.connectLogon(tf);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    ssn = trans.getSmbSession(NtlmPasswordAuthentication.NULL);
                    tree = ssn.getSmbTree(null, null);
                } else if ((a = NtlmAuthenticator.requestNtlmPasswordAuthentication(url.toString(), sae)) != null) {
                    auth = a;
                    ssn = trans.getSmbSession(auth);
                    tree = ssn.getSmbTree(share, null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbSessionImpl.java

                            /*
                             * preauthentication
                             */
                            try (SmbSessionImpl smbSession = trans.getSmbSession(getContext().withDefaultCredentials());
                                    SmbTreeImpl t = smbSession.getSmbTree(getContext().getConfig().getLogonShare(), null)) {
                                t.treeConnect(null, null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
Back to top