Forum Discussion

Gihad_296649's avatar
Gihad_296649
Icon for Nimbostratus rankNimbostratus
9 years ago

Session Variable names with special characters

Hi

 

I am trying to access a session variable in the Policy Editor and display it in a message box but that variable name has special characters and it keeps showing the variable name instead of the value

 

I am using the following which displays normally: session.user.sessionid = %{session.user.sessionid} session.saml.last.identity = %{session.saml.last.identity}

 

The one that has a problem is: dataofbirth = %{session.saml.last.attr.name.http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth}

 

I tried to escape the dots in schemas.xmlsoap.org using \ but it doesn't work

 

I also tried to escape the slashes and the colon and it doesn't work http:\/\/schemas.xmlsoap.org\/ws\/2005\/05\/identity\/claims\/dateofbirth

 

Any ideas?

 

Or maybe guidance on how to access saml session variables that hold the attributes values in general would be appreciated.

 

Thanks a lot.

 

1 Reply

No RepliesBe the first to reply