Skip to content

Commit

Permalink
Merge pull request #8781 from CVamsi27/ds-8671
Browse files Browse the repository at this point in the history
Removed instances of useProxies
  • Loading branch information
tdonohue committed Apr 28, 2023
2 parents 05a1a37 + 1ccde84 commit 80cb844
Showing 1 changed file with 1 addition and 6 deletions.
Expand Up @@ -52,11 +52,6 @@ public class IPAuthentication implements AuthenticationMethod {
*/
private static Logger log = org.apache.logging.log4j.LogManager.getLogger(IPAuthentication.class);

/**
* Whether to look for x-forwarded headers for logging IP addresses
*/
protected static Boolean useProxies;

/**
* All the IP matchers
*/
Expand Down Expand Up @@ -250,7 +245,7 @@ public List<Group> getSpecialGroups(Context context, HttpServletRequest request)

log.debug(LogHelper.getHeader(context, "authenticated",
"special_groups=" + gsb.toString()
+ " (by IP=" + addr + ", useProxies=" + useProxies.toString() + ")"
+ " (by IP=" + addr + ")"
));
}

Expand Down

0 comments on commit 80cb844

Please sign in to comment.