AuthenticationUtils with many null values

chaud81156861

24-02-2019

I tried to get to the remote ip and changed the configuration on clientheaders or add / info "1" to the config file, but nothing happened. Below is the keys I want to collect values ​​but all of them returned null.

AEM - Questions

1698425_pastedImage_0.png

/ clientheaders

{

"*"

}

/ auth_checker

{

      / url "/ bin / permissioncheck"

      / filter

        {

        / 0000

          {

         / glob "*"

          / type "deny"

          }         

     /0001

      {

      /glob "*.html"

      /type "allow"

      }    

        }

      / headers

        {

        / 0000

          {

          / glob "*"

          / type "allow"

          }

        / 0001

          {

          / glob "Set-Cookie: *"

          / type "allow"

          }

        }

      }

Accepted Solutions (1)

Accepted Solutions (1)

Gaurav-Behl

MVP

25-02-2019

Could you share more details about your use case?

Do you mean that you're not getting headers say 'X-forwarded-for' in your permission-sensitive caching enabled servlet?

Could you make sure that the header(s) are set by Load balancer or other proxies that are above apache/dispatcher?

/clientheaders in dispatcher.any would simply pass-through headers that are allowed in this configuration, it won't generate headers on its own.

Answers (0)