Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question for you servlet gurus

Status
Not open for further replies.

Terwin

Programmer
May 23, 2002
51
0
0
US
Hello all,

My question involves running users through an authentication
scheme and subsequently forwarding the request (or redirecting
the response).

The authentication routine is there to pick up some data about
the user IF they have the authentication client open (it's
a sort of side car piece, similar to Kerberos). The issue
is that if they are not running the client, I want the same
thing to happen.. that is, to have the user forwarded to the
end URL. If the client is not open, an exception is thrown,
which results in IllegalStateException when I attempt to do
a response.sendRedirect in my catch statement (I assume
because the first exception flooded the buffer). I'd rather
not use a requestDispatcher.forward because the final URL
doesn't live on the same server, so I'd have to forward to
a jsp and then on to the end point.. which seems like a
hack to me.

I'm thinking there must be a better way to do this. Any ideas?

Thanks,
Terwin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top