Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for NtlmPasswordAuthentication (0.13 sec)

  1. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

        static final NtlmPasswordAuthentication DEFAULT =
                    new NtlmPasswordAuthentication( null );
    
        String domain;
        String username;
        String password;
        byte[] ansiHash;
        byte[] unicodeHash;
        boolean hashesExternal = false;
        byte[] clientChallenge = null;
        byte[] challenge = null;
    
    /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbSession.java

                                if( auth.hashesExternal && NtlmPasswordAuthentication.DEFAULT_PASSWORD != NtlmPasswordAuthentication.BLANK ) {
                                    /* preauthentication
                                     */
                                    transport.getSmbSession( NtlmPasswordAuthentication.DEFAULT ).getSmbTree( LOGON_SHARE, null ).treeConnect( null, null );
                                } else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

         * @return True if the negotiation is complete, otherwise false
         */
        protected NtlmPasswordAuthentication negotiate( HttpServletRequest req,
                    HttpServletResponse resp,
                    boolean skipAuthentication ) throws IOException, ServletException {
            UniAddress dc;
            String msg;
            NtlmPasswordAuthentication ntlm = null;
            msg = req.getHeader( "Authorization" );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            }
            return (capabilities & cap) == cap;
        }
        boolean isSignatureSetupRequired( NtlmPasswordAuthentication auth ) {
            return ( flags2 & ServerMessageBlock.FLAGS2_SECURITY_SIGNATURES ) != 0 &&
                    digest == null &&
                    auth != NtlmPasswordAuthentication.NULL &&
                    NtlmPasswordAuthentication.NULL.equals( auth ) == false;
        }
    
        void ssn139() throws IOException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SID.java

                    throw new SmbException(rpc.retval, false);
                SID[] sids = new SID[rpc.sids.num_sids];
    
                String origin_server = handle.getServer();
                NtlmPasswordAuthentication origin_auth =
                            (NtlmPasswordAuthentication)handle.getPrincipal();
    
                for (int i = 0; i < sids.length; i++) {
                    sids[i] = new SID(rpc.sids.sids[i].sid,
                                0,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 26.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/NtlmHttpFilter.java

         * @throws ServletException
         */
        protected NtlmPasswordAuthentication negotiate ( HttpServletRequest req, HttpServletResponse resp, boolean skipAuthentication )
                throws IOException, ServletException {
            Address dc;
            String msg;
            NtlmPasswordAuthentication ntlm = null;
            msg = req.getHeader("Authorization");
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/Dfs.java

                        NtlmPasswordAuthentication auth) throws SmbAuthException
        {
            HashMap domains = getTrustedDomains(auth);
            if (domains == null)
                return false;
            domain = domain.toLowerCase();
            return domains.get(domain) != null;
        }
        public SmbTransport getDc(String domain,
                        NtlmPasswordAuthentication auth) throws SmbAuthException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

    // NTLMv1 w/ NTLM2 session sec and key exch all been verified with a debug build of smbclient
    
                    byte[] responseKeyNT = NtlmPasswordAuthentication.nTOWFv1(password);
                    byte[] ntlm2Response = NtlmPasswordAuthentication.getNTLM2Response(responseKeyNT,
                                type2.getChallenge(),
                                clientChallenge);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            return d ? this.domain + "\\" + this.username : this.username;
        }
    
    
        /**
         * Compares two <tt>NtlmPasswordAuthentication</tt> objects for equality.
         * 
         * Two <tt>NtlmPasswordAuthentication</tt> objects are equal if their caseless domain and username fields are equal
         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/SessionTest.java

    import jcifs.Credentials;
    import jcifs.SmbResource;
    import jcifs.SmbTransport;
    import jcifs.config.DelegatingConfiguration;
    import jcifs.smb.NtStatus;
    import jcifs.smb.NtlmNtHashAuthenticator;
    import jcifs.smb.NtlmPasswordAuthentication;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.NtlmUtil;
    import jcifs.smb.SmbAuthException;
    import jcifs.smb.SmbException;
    import jcifs.smb.SmbFile;
    import jcifs.smb.SmbSessionInternal;
    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