How to View the Submitted Username When Using Secure Impersonation

Goal

I would like to see how my LDAP usernames are being submitted to the cluster when Secure Impersonation is enabled. 

Learn

  • Navigate to the following file in your Datameer installation directory:
    <datameer-install-dir>/conf/log4j-production.properties
  • Add the following line:
    log4j.category.datameer.dap.common.entity.properties.SecureGridMode=DEBUG
  • Restart Datameer

Upon restart, you will note logging of the following nature in the conductor log:

[QA] DEBUG [<timestamp>] [qtp607757201-21] (securegridmode.java:159) - Original User Name: QA;User Name after applying rule:qa

Please note that this is debug level logging and should be removed once the problem has been identified and resolved.