Hello DevCentral,
I have a question for you. I need to handle the Kerberos authentication (SSO) on a web service. My APM policy prompts a logon page for the un-authenticated users. Now I want to implement that if a user have a Kerberos token it will be able to logon using SSO and then access directly to the webservice( no logon page). Now I’m using a 401 response but How can I show the logon page if the user does not have the Kerberos token ?
Thanks in advance,
Best regards,
M.
Technically speaking it’d be easy to do in an access policy in iRules, based on the presence or absence or an Authorization header in the client’s request. The problem is that browsers don’t generally work that way. If you send a 401 on initial access, and the client is unable to satisfy it, the browser will either re-prompt the user or just fail completely. One of the best approaches to handling this scenario, if your environment supports it, is to filter the clients based on source IP address. Anyone that can requests a Kerberos ticket for a web server is very likely on the same network as that KDC, while everyone else may not be. You could then use an iRule or APM’s IP Subnet Match agent in the visual policy to direct different types of users down different VPE paths. One path for a logon page, and the other for client side Kerberos.