"Benoit" wrote in message
news:3f5c3c6a@newsgroups.bea.com...
>
> Hello,
> I'm working on a Identity Assertion provider based on cookie with WLS 7.0

SP2.
>
> Everything is OK except that, when a user try to connect on a protected

ressource
> without a authentication cookie, the server redirect him on a 401 error

page.
>
> In this one I need to know the initial URL asked by the client, but I

don't know
> if it's possible, and if yes, how ????
>

In 8.1 and I think 7.0 SP4, there is a
weblogic.servlet.security.ServletAuthentication

getTargetURLForFormAuthentication

method. Does this do what you want?

For 7.0 SP2, I don't think there is a public api that does the equivalent.