Forum Discussion
MDPF52_180608
Sep 07, 2015Nimbostratus
APM HTTP Header injection
Hello DevCentral Community,
I want to ask you if is it possible to inject the HTTP Headers in the server side connection when APM is in place.
Basically, I need to send dynamically from the F5 to...
Michael_61033
Sep 07, 2015Nimbostratus
Hi,
You could you "HTTP_REQUEST_RELEASE" event which fires after APM on the connection to the backend.
when HTTP_REQUEST_RELEASE {
HTTP::header replace "userPrincipalName" [ACCESS::session data get session.ad.last.attr.userPrincipalName]
... and so on
}
Regards
Micha
- MDPF52_180608Sep 07, 2015NimbostratusThank you for your help. I have another problem now, when I try to set the variable assigned dynamically in the ACCESS_POLICY_AGENT_EVENT (each ID of the ACCESS_POLICY_AGENT_EVENT can assign a different value to the variable) in the HTTP_REQUEST_RELEASE there is a TCL Error " can't read "Role": no such variable ". Anyone can suggest me something? Thanks in advance, BR. M.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects