Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for toUpperCase (0.19 sec)

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

            if( obj instanceof NtlmPasswordAuthentication ) {
                NtlmPasswordAuthentication ntlm = (NtlmPasswordAuthentication)obj;
                if( ntlm.domain.toUpperCase().equals( domain.toUpperCase() ) &&
                            ntlm.username.toUpperCase().equals( username.toUpperCase() )) {
                    if( hashesExternal && ntlm.hashesExternal ) {
                        return Arrays.equals( ansiHash, ntlm.ansiHash ) &&
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                        writeString( password, lmHash, 0 );
                    }
                    accountName = auth.username;
                    if (useUnicode)
                        accountName = accountName.toUpperCase();
                    primaryDomain = auth.domain.toUpperCase();
                } else if (cred instanceof byte[]) {
                    blob = (byte[])cred;
                } else {
                    throw new SmbException("Unsupported credential type");
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                            this.accountName = a.getUsername();
                            if ( this.isUseUnicode() )
                                this.accountName = this.accountName.toUpperCase();
                            this.primaryDomain = a.getUserDomain() != null ? a.getUserDomain().toUpperCase() : "?";
                        }
                        else {
                            this.accountName = "";
                            this.primaryDomain = "";
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Mar 17 10:20:23 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/DfsTest.java

            String path = link != null ? link : dfsSharePath + relative;
    
            if ( upper ) {
                dfsShare = dfsShare.toUpperCase(Locale.ROOT);
                path = path.toUpperCase(Locale.ROOT);
                target = target.toUpperCase(Locale.ROOT);
            }
    
            log.debug("Resolving \\" + target + "\\" + dfsShare + path);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 13.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

            dstIndex += 2;
            writeInt4( serverTypes, dst, dstIndex );
            dstIndex += 4;
            dstIndex += writeString( domain.toUpperCase(), dst, dstIndex, false );
            if( which == 1 ) {
                dstIndex += writeString( lastName.toUpperCase(), dst, dstIndex, false );
            }
    
            return dstIndex - start;
        }
        int writeDataWireFormat( byte[] dst, int dstIndex ) {
            return 0;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmUtil.java

                throws GeneralSecurityException {
            byte[] response = new byte[24];
            MessageDigest hmac = Crypto.getHMACT64(passwordHash);
            hmac.update(Strings.getUNIBytes(user.toUpperCase()));
            hmac.update(Strings.getUNIBytes(domain.toUpperCase()));
            hmac = Crypto.getHMACT64(hmac.digest());
            hmac.update(challenge);
            hmac.update(clientChallenge);
            hmac.digest(response, 0, 16);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 9.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/Lmhosts.java

        void populate ( Reader r, CIFSContext tc ) throws IOException {
            String line;
            BufferedReader br = new BufferedReader(r);
    
            while ( ( line = br.readLine() ) != null ) {
                line = line.toUpperCase().trim();
                if ( line.length() == 0 ) {
                    continue;
                }
                else if ( line.charAt(0) == '#' ) {
                    if ( line.startsWith("#INCLUDE ") ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

            dstIndex += 2;
            SMBUtil.writeInt4(this.serverTypes, dst, dstIndex);
            dstIndex += 4;
            dstIndex += writeString(this.domain.toUpperCase(), dst, dstIndex, false);
            if ( which == 1 ) {
                dstIndex += writeString(this.lastName.toUpperCase(), dst, dstIndex, false);
            }
    
            return dstIndex - start;
        }
    
    
        @Override
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

                if (suppliedDomain != null && suppliedDomain.length() != 0) {
                    hostInfo = true;
                    flags |= NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED;
                    domain = suppliedDomain.toUpperCase().getBytes(
                            getOEMEncoding());
                } else {
                    flags &= (NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED ^ 0xffffffff);
                }
                byte[] workstation = new byte[0];
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/api/BaseApiManager.java

                if (values.length > 2) {
                    value = values[2];
                }
            }
            if (value == null) {
                return FormatType.SEARCH;
            }
            final String type = value.toUpperCase(Locale.ROOT);
            if (FormatType.SEARCH.name().equals(type)) {
                return FormatType.SEARCH;
            }
            if (FormatType.LABEL.name().equals(type)) {
                return FormatType.LABEL;
            }
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.3K bytes
    - Viewed (0)
Back to top