GeeCON Prague 2014*
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
Author

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.

Thanks
Kawa
dhani dhani
Greenhorn

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.

http://e-docs.bea.com/wls/docs61/webapp/security.html
http://e-docs.bea.com/wls/docs81/security/thin_client.html#1039551

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.
 
GeeCON Prague 2014
 
subject: Bypass form-based authentication