Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for Equals (0.18 sec)

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

     * equality. Two <tt>NtlmPasswordAuthentication</tt> objects are equal if
    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/smb/DfsImpl.java

                }
            }
    
            if ( log.isTraceEnabled() ) {
                log.trace("Have DC referral " + dr);
            }
    
            if ( dr != null && domain.equals(dr.getServer()) && root.equals(dr.getShare()) ) {
                // If we do cache these we never get to the properly cached
                // standalone referral we might have.
                log.warn("Dropping self-referential referral " + dr);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SID.java

         * @throws SmbException
         */
        public SID ( String textual ) throws SmbException {
            StringTokenizer st = new StringTokenizer(textual, "-");
            if ( st.countTokens() < 3 || !st.nextToken().equals("S") )
                // need S-N-M
                throw new SmbException("Bad textual SID format: " + textual);
    
            this.revision = Byte.parseByte(st.nextToken());
            String tmp = st.nextToken();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

                switch ( tagged.getTagNo() ) {
                case 0:// Kerberos version
                    ASN1Integer tktvno = ASN1Util.as(ASN1Integer.class, tagged);
                    if ( !tktvno.getValue().equals(new BigInteger(KerberosConstants.KERBEROS_VERSION)) ) {
                        throw new PACDecodingException("Invalid kerberos version " + tktvno);
                    }
                    break;
                case 1:// Realm
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/Handler.java

                    StringTokenizer tokenizer = new StringTokenizer(path, "|");
                    while (tokenizer.hasMoreTokens()) {
                        String provider = tokenizer.nextToken().trim();
                        if (provider.equals("jcifs.smb1")) continue;
                        String className = provider + "." + protocol + ".Handler";
                        try {
                            Class handlerClass = null;
                            try {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/transport/Transport.java

                            notifyAll();
                        }
                    }
                } catch( Exception ex ) {
                    String msg = ex.getMessage();
                    boolean timeout = msg != null && msg.equals( "Read timed out" );
                    /* If just a timeout, try to disconnect gracefully
                     */
                    boolean hard = timeout == false;
    
                    if (!timeout && log.level >= 3)
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/transport/Transport.java

                catch ( Exception ex ) {
                    String msg = ex.getMessage();
                    boolean timeout = ( ex instanceof SocketTimeoutException ) || msg != null && msg.equals("Read timed out");
                    boolean closed = msg != null && msg.equals("Socket closed");
    
                    if ( closed ) {
                        log.trace("Remote closed connection");
                    }
                    else if ( timeout ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/PACTest.java

            return new KerberosKey(null, keybytes, etype, 0);
        }
    
    
        private static void checkBytes ( byte[] expect, byte[] have ) {
            if ( !Arrays.equals(expect, have) ) {
                Assert.fail(String.format("Expect: %s Have: %s", Hexdump.toHexString(expect), Hexdump.toHexString(have)));
            }
        }
    
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

         *
         * @see jcifs.internal.SmbNegotiationResponse#canReuse(jcifs.CIFSContext, boolean)
         */
        @Override
        public boolean canReuse ( CIFSContext tc, boolean forceSigning ) {
            return this.getConfig().equals(tc.getConfig());
        }
    
    
        /**
         * @return the dialectIndex
         */
        public int getDialectIndex () {
            return this.dialectIndex;
        }
    
    
        /**
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 15.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/Kerb5Authenticator.java

        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.smb.NtlmPasswordAuthenticator#equals(java.lang.Object)
         */
        @Override
        public boolean equals ( Object other ) {
            // this method is called from SmbSession
            if ( other != null && other instanceof Kerb5Authenticator )
                return Objects.equals(this.getSubject(), ( (Kerb5Authenticator) other ).getSubject());
    
            return false;
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13K bytes
    - Viewed (0)
Back to top