Ignore:
Timestamp:
05/10/18 16:04:51 (6 years ago)
Author:
davidb
Message:

Reworking of the code-base to separate logic from graphics. This version of Expeditee now supports a JFX graphics as an alternative to SWING

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/io/ProxyAuth.java

    r919 r1102  
    2424public class ProxyAuth extends Authenticator {
    2525
     26        public static final int MAX_ATTEMPTS = 5;
     27       
    2628        private String httpUser = null, httpPass = null, httpsUser = null, httpsPass = null;
    2729        private int attempts = 0;
     
    3739                // stop it from breaking from a redirect loop
    3840                attempts++;
    39                 if(attempts > 5) {
     41                if(attempts > MAX_ATTEMPTS) {
    4042                        return null;
    4143                }
Note: See TracChangeset for help on using the changeset viewer.