cancel
Showing results for 
Search instead for 
Did you mean: 

F5 APM - Session Variable names with special characters

dromerot
Nimbostratus
Nimbostratus

Hi,

 

I have F5 LTM+APM in 14.1.2 version with ADFS integration through SAML.

 

I would like to use the variable %{session.saml.last.attr.name.http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress} but it's always empty. However, I see my email in the Access Report. Therefore, this variable has a value but I can't use it in the VPE.

 

I've printed the variable with a logging box and it's also empty. On the other hand, the variable %{session.saml.last.identity} works. I can print and use it.

 

F5 APM supports session variable names with special characters? How can I use it?

 

Thanks, best regards.

2 REPLIES 2

Hello Dromerot.

Have you tried with an iRule?

when HTTP_REQUEST { set email [ACCESS::session data get "session.saml.last.attr.name.{http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress}"] log local0. "SAML email: $email" }

Regards,

Dario

Regards,
Dario.

dromerot
Nimbostratus
Nimbostratus

Hi Dario,

 

I have not tried with an iRule. I will try!!

 

Thanks, best regards.