N
Nicholas Hadlee
I was reading the article "Exploring S4U Kerberos Extensions in Windows
Server 2003" and I have a question regarding the use of the kerberos protocol
in an ASP.NET application for delegation. I was thinking that perhaps using
once of the Service-for (S4U2Self) protocol transitions may get around an
issue we seem to have if S4U is not constrained by ticket lifetimes of the
standard kerberos tickets.
Basically the case is: We have an internal web application using an n-tier
architecture (Application Server and SQL Server are the only tiers at this
stage). Standard Kerberos delegation is being used for the authentication of
the ASP 2.0 application - the impersonation is being handled by the app using
the appropriate web.config settings...
The lifetime of the ticket which is being used by the application server is
set to the the defaut (10 hours) and this works fine for users who log on and
off each day. However for users that are logged in for longer periods (and
who need to be) their tickets expire and because they were not renewed 5
minutes before then end of that 10 hour period they cannot renew them at all.
Is it possible to force a renewal somehow? I have done some extensive
research on this issue and have not found anything that discusses credential
expiration in any detail. One scenario I considered (If S4U credentiasl do
not expire as readily as the standard kerberos tickets) would be to use
intregated authentication in the app but to have impersonation off in the
web.config and then manually impersonate using a S4U ticket - esentaily a mix
of protocol transition and delegation technicques.
Any ideas or comments from anyone that has figured this out or taken a
different approprach would be appreciated.
Nicholas
Server 2003" and I have a question regarding the use of the kerberos protocol
in an ASP.NET application for delegation. I was thinking that perhaps using
once of the Service-for (S4U2Self) protocol transitions may get around an
issue we seem to have if S4U is not constrained by ticket lifetimes of the
standard kerberos tickets.
Basically the case is: We have an internal web application using an n-tier
architecture (Application Server and SQL Server are the only tiers at this
stage). Standard Kerberos delegation is being used for the authentication of
the ASP 2.0 application - the impersonation is being handled by the app using
the appropriate web.config settings...
The lifetime of the ticket which is being used by the application server is
set to the the defaut (10 hours) and this works fine for users who log on and
off each day. However for users that are logged in for longer periods (and
who need to be) their tickets expire and because they were not renewed 5
minutes before then end of that 10 hour period they cannot renew them at all.
Is it possible to force a renewal somehow? I have done some extensive
research on this issue and have not found anything that discusses credential
expiration in any detail. One scenario I considered (If S4U credentiasl do
not expire as readily as the standard kerberos tickets) would be to use
intregated authentication in the app but to have impersonation off in the
web.config and then manually impersonate using a S4U ticket - esentaily a mix
of protocol transition and delegation technicques.
Any ideas or comments from anyone that has figured this out or taken a
different approprach would be appreciated.
Nicholas