aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Bypass form-based authentication
 
Similar Threads
Pass username and password via browser in Formbased Authentication
Using form based authentication and Struts
Doubts in Mock exam HFSJ
Auto Login By Username in Cookie
set original page for j_security_check