Forum Discussion
SSO failure should cause reject
hi out there
I have a simple problem (probably) - defined a kerberos based sso where - if the sso fails - also connects the user to the webserver where i expected it to reject the client instead but this it doesn't - probably a misunderstanding of the concept. If the SSO fails what do I need to do to reject the client? define a irule on the ltm which then somehow rejects the client ? Can I test on a variable of the SSO is successfully? and if so - how do I reject the client?
best regards /ti
6 Replies
- kunjan
Nimbostratus
For the Kerberos, the server is requesting for credentials, which if SSO configured is provided by the APM. If it doesn't, you should see the user prompt asking to key in the credentials.
So now if you don't see means, either back end server is not configured for it, or the client browser is automatically providing it . For the client browser to provide , either user has logged to the domain from a domain joined machine or you might have a saved log in information.
- tiwang
Nimbostratus
hi Again yes but - see - I get the user-credentials from a certificate and get a kerberos token from the domain controller (KDC) - if it fails in getting the ticket for some reason I would like it to be rejected - just as a extra guard - not connected to the server. Doesn't we get a flag set somewhere that the SSO has failed and this could we then make use of in a irule which could be used to redirect it to another site? best regards /ti
- tiwang
Nimbostratus
hi Again yes but - see - I get the user-credentials from a certificate and get a kerberos token from the domain controller (KDC) - if it fails in getting the ticket for some reason I would like it to be rejected - just as a extra guard - not connected to the server. Doesn't we get a flag set somewhere that the SSO has failed and this could we then make use of in a irule which could be used to redirect it to another site? best regards /ti
- tiwang
Nimbostratus
hi Again yes but - see - I get the user-credentials from a certificate and get a kerberos token from the domain controller (KDC) - if it fails in getting the ticket for some reason I would like it to be rejected - just as a extra guard - not connected to the server. Doesn't we get a flag set somewhere that the SSO has failed and this could we then make use of in a irule which could be used to redirect it to another site? best regards /ti
- kunjan
Nimbostratus
The result is flagged in this session variable:
session.logon.last.username.sso.state- This is set to 1 internally when Kerberos SSO fails. When this variable is set, all subsequent requests are passed to the application server without applying SSO for the remainder of the user session. The variable name is constructed by appending .sso.state to the name specified in Username Source. - tiwang
Nimbostratus
hi kujan thanks for the tip should be possibly for me to define a irule with a statement like
when CLIENT_ACCEPTED { if session.logon.last.username.sso.state == 1 reject }
and assign this to the ltm vs best regards /ti
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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