I understand that configured attributes will be stored as environment variables by default and will be accessible like
request.getAttribute("Shib-Identity-Provider")
I tried that and after some googling I understood that to access them in Java through AJP.
I need to prefix this
<ApplicationDefaults id="default" policyId="default"
entityID="https://idp.example.org"
REMOTE_USER="eppn persistent-id targeted-id"
signing="false" encryption="false" attributePrefix="AJP_">
I did that but I still keep getting null in my Java application
- Shib-Identity-Provider - null
- Shib-Session-ID - null
- Shib-Application-ID - null
Could someone help me figure out what I am missing to make it work?