Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for design (0.17 sec)

  1. src/main/java/jcifs/http/Handler.java

     * capabilities to the default HTTP handler. This acts as a wrapper,
     * handling authentication and passing control to the underlying
     * stream handler.
     * 
     * @deprecated {@link NtlmHttpURLConnection} is broken by design.
     */
    @Deprecated
    public class Handler extends URLStreamHandler {
    
        private static final Logger log = LoggerFactory.getLogger(Handler.class);
    
        /**
         * The default HTTP port (<code>80</code>).
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/https/Handler.java

     * capabilities to the default HTTPS handler. This acts as a wrapper,
     * handling authentication and passing control to the underlying
     * stream handler.
     * 
     * @deprecated {@link NtlmHttpURLConnection} is broken by design.
     */
    @Deprecated
    public class Handler extends jcifs.http.Handler {
    
        /**
         * The default HTTPS port (<code>443</code>).
         */
        public static final int DEFAULT_HTTPS_PORT = 443;
    
    
        /**
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmHttpURLConnection.java

     * HttpURLConnections, for the complete JRE) to the same host with different or mixed anonymous/authenticated
     * credentials. Authenticated connections can/will be reused.
     * 
     * @deprecated This is broken by design, even a possible vulnerability. Deprecation is conditional on whether future JDK
     *             versions will allow to do this safely.
     */
    @Deprecated
    public class NtlmHttpURLConnection extends HttpURLConnection {
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 25.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            request.flags2 |= flags2;
            request.useUnicode = useUnicode;
            request.response = response; /* needed by sign */
            if (request.digest == null)
                request.digest = digest; /* for sign called in encode */
    
            try {
                if (response == null) {
                    doSend0( request );
                    return;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SID.java

         * target server where keys are SIDs representing an account and each value
         * is an ArrayList of SIDs represents the local groups that the account is
         * a member of.
         * <p/>
         * This method is designed to assist with computing access control for a
         * given user when the target object's ACL has local groups. Local groups
         * are not listed in a user's group membership (e.g. as represented by the
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 26.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

                int off = nextStart - start;
                SMBUtil.writeInt4(off, dst, start + 20);
                len += dstIndex - nextStart;
            }
    
            if ( this.digest != null ) {
                this.digest.sign(dst, this.headerStart, this.length, this, getResponse());
            }
    
            if ( isRetainPayload() ) {
                this.rawPayload = new byte[len];
                System.arraycopy(dst, start, this.rawPayload, 0, len);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Sep 30 10:47:31 GMT 2018
    - 19.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            dst[dstIndex++] = (byte)(( byteCount >> 8 ) & 0xFF );
            dstIndex += byteCount;
    
            length = dstIndex - start;
    
            if( digest != null ) {
                digest.sign( dst, headerStart, length, this, response );
            }
    
            return length;
        }
        int decode( byte[] buffer, int bufferIndex ) {
            int start = headerStart = bufferIndex;
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 21K bytes
    - Viewed (0)
  8. src/main/java/jcifs/Configuration.java

         * 
         * This does not provide any actual downgrade protection if SMB1 is allowed.
         * 
         * It will also break connections with SMB2 servers that do not properly sign error responses.
         * 
         * @return whether to enforce the use of secure negotiation.
         */
        boolean isRequireSecureNegotiate ();
    
    
        /**
         * Enable port 139 failover
         * 
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            dst[ dstIndex++ ] = (byte) ( ( this.byteCount >> 8 ) & 0xFF );
            dstIndex += this.byteCount;
    
            this.length = dstIndex - start;
    
            if ( this.digest != null ) {
                this.digest.sign(dst, this.headerStart, this.length, this, this.response);
            }
    
            return this.length;
        }
    
    
        @Override
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 32.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

                throw new SmbException("Not an SMB1 request");
            }
    
            this.negotiated.setupRequest(request);
    
            if ( response != null ) {
                request.setResponse(response); /* needed by sign */
                response.setDigest(request.getDigest());
            }
    
            try {
                if ( log.isTraceEnabled() ) {
                    log.trace("Sending " + request);
                }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
Back to top