Forum Discussion
david78
Nimbostratus
Oct 06, 2011Log username with SSO ...
Hi,
To log the username i used this iRules :
when HTTP_REQUEST {
set client_username "[HTTP::username]"
}
But with the SSO, the client don't send the autorization header, but the SSO's cookie...
==> my iRules failed :(
It's there an another way to get the username ?
5 Replies
- david78
Nimbostratus
No one can help me ? :'(
Is there another way to get ID ? - Brian_69413
Nimbostratus
If the username is encrypted with Kerberos, then the F5 will not be able to extract it. I don't think this can be done without some engineering of the app, but someone may have another idea. - c_p_i_o_17707Historic F5 AccountAre you running v11?
If yes, do you have AUTHENTICATION module licensed?
If yes, you should be able to get this information by configuring APM and making use of ACCESS::user command.
APM has kerberos support builtin.
This is documented here.
http://devcentral.f5.com/wiki/iRules.ACCESS__user.ashx
Hope this helps. - david78
Nimbostratus
hi,
thank you for your response.
Yes, i have v11 & APM, but I don't understand how works ACCESS::user command :(
I found something else :
set client_username [ACCESS::session data get session.logon.last.username]
And i work :D - c_p_i_o_17707Historic F5 AccountGreat.
I'm glad you could get this to work for you.
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
