Meaningless Drivel is fun!
The moose likes Servlets and the fly likes Bypass form-based authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Bypass form-based authentication" Watch "Bypass form-based authentication" New topic

Bypass form-based authentication

Gerome Kawa
Ranch Hand

Joined: Dec 05, 2002
Posts: 61
What are the ways to bypass form-based and basic authentication ?

I have an app A from which I want to access another web app B (running on a different machine). (I can hard-code the username/password of B if required , high security is not an issue, seamless accesibility is required of B fom A).

Can anyone suggest some solutions.

dhani dhani

Joined: Nov 04, 2004
Posts: 6
Before I suggest you my option, I assume that, you want to login to App B from App A as same user. If my assumption is true, first thing you need to look at is Cookies.
Which application server are you using?. I have supported similar functionality on weblogic. To understand more how you can use Cookies, You can read this page. Let me know your conclusion after reading below page.

Even if you are not using weblogic as application server, above document will give you an idea about how to do this. Let me knowhow it goes.
I agree. Here's the link:
subject: Bypass form-based authentication
It's not a secret anymore!