Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for get_session (0.25 sec)

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

        }
    
    
        @SuppressWarnings ( "unchecked" )
        private static <T extends Enum<T>> Object getSessionKeyInquireType ( Class<?> inquireTypeClass ) {
            return Enum.valueOf((Class<T>) inquireTypeClass, "KRB5_GET_SESSION_KEY");
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Aug 02 08:22:42 GMT 2018
    - 13.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

         */
        @Override
        public byte[] getSessionKey () throws CIFSException {
            try ( SmbTreeHandleImpl th = ensureTreeConnected();
                  SmbSessionImpl sess = th.getSession() ) {
                return sess.getSessionKey();
            }
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbPipeHandle#isStale()
         */
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Apr 13 17:05:22 GMT 2020
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/SessionTest.java

                  SmbTreeHandleInternal th2 = (SmbTreeHandleInternal) ( (SmbFile) f2 ).getTreeHandle();
                  SmbSessionInternal sess1 = th1.getSession().unwrap(SmbSessionInternal.class);
                  SmbSessionInternal sess2 = th2.getSession().unwrap(SmbSessionInternal.class);
                  SmbTransport t1 = sess1.getTransport();
                  SmbTransport t2 = sess2.getTransport() ) {
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NtlmServlet.java

                    return;
                }
                HttpSession ssn = request.getSession();
                ssn.setAttribute("NtlmHttpAuth", ntlm);
                ssn.setAttribute("ntlmdomain", ntlm.getUserDomain());
                ssn.setAttribute("ntlmuser", ntlm.getUsername());
            }
            else {
                HttpSession ssn = request.getSession(false);
                if ( ssn == null || ssn.getAttribute("NtlmHttpAuth") == null ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 7.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NtlmHttpFilter.java

                    resp.flushBuffer();
                    return null;
                }
                req.getSession().setAttribute("NtlmHttpAuth", ntlm);
            }
            else {
                if ( !skipAuthentication ) {
                    HttpSession ssn = req.getSession(false);
                    if ( ssn == null || ( ntlm = (NtlmPasswordAuthentication) ssn.getAttribute("NtlmHttpAuth") ) == null ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

         * @throws SmbException
         */
        boolean areSignaturesActive () throws CIFSException;
    
    
        /**
         * Internal/testing use only
         * 
         * @return attached session
         */
        SmbSession getSession ();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbEnumerationUtil.java

            }
    
            SmbTreeConnection treeConn = SmbTreeConnection.create(tc);
            try ( SmbTreeHandleImpl th = treeConn.connectHost(locator, locator.getServerWithDfs());
                  SmbSessionImpl session = th.getSession();
                  SmbTransportImpl transport = session.getTransport() ) {
                try {
                    entries = doMsrpcShareEnum(tc, locator, transport.getRemoteAddress());
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

                    resp.flushBuffer();
                    return null;
                }
                req.getSession().setAttribute( "NtlmHttpAuth", ntlm );
            } else {
                if (!skipAuthentication) {
                    HttpSession ssn = req.getSession(false);
                    if (ssn == null || (ntlm = (NtlmPasswordAuthentication)
                                ssn.getAttribute("NtlmHttpAuth")) == null) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeImpl.java

                return transport.getNegotiateResponse().isDFSSupported();
            }
        }
    
    
        /**
         * @return the session this tree is connected in
         */
        public SmbSessionImpl getSession () {
            return this.session.acquire();
        }
    
    
        /**
         * @return the tid
         */
        public int getTid () {
            return this.tid;
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NetworkExplorer.java

            Address dc;
            String msg, pathInfo, server = null;
            boolean offerBasic, possibleWorkgroup = true;
            NtlmPasswordAuthentication ntlm = null;
            HttpSession ssn = req.getSession(false);
    
            if ( ( pathInfo = req.getPathInfo() ) != null ) {
                int i;
                server = parseServerAndShare(pathInfo);
                if ( server != null && ( i = server.indexOf('/') ) > 0 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 21.3K bytes
    - Viewed (0)
Back to top