Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-17-2008, 08:54 PM
Junior Member
 
Join Date: Jun 2008
Posts: 3
Default Customized HTTP Authentication Adapter

Our development team is working on a web application that uses Zend Framework on Apache HTTP server, which also executes servlets running on Apache Tomcat. Before deciding on using the Zend framework, we were able to authenticate against Apache HTTP server and pass the authenticated session to Tomcat via Mod_jk and successfully call the servlets. When we implemented the Zend framework, we initially used the Zend_Auth_Adapter_DbTable class for authentication against our MySQL schema. This worked fine, but it seems that using this class does not create a session on Apache, and therefore mod_jk has nothing to hand off to Tomcat to call our servlets. (If this is not the case, please let me know...we are new to this.) I then looked at using the Zend_Auth_Adapter_Http for authentication since the documentation states that: it includes support for authenticating against text files and provides an interface for authenticating against other sources, such as databases. The API only provides a class for authentication against a file containing username/credentials. It is assumed that we would have to write our own interface to use our MySQL table for authentication, but we are not sure how to accomplish this. I could not find any examples of this approach anywhere, so I'm hoping someone can enlighten me on how to proceed. Also, if this is not the best way to proceed, then please feel to send some other ideas. The main goal is to authenticate with the Zend framework, but still establish an Apache session so that mod_jk can forward requests to Tomcat for execution of our servlets. Thanks for any help!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-18-2008, 02:43 PM
Junior Member
 
Join Date: Jun 2008
Location: earth
Posts: 14
Default

I would like to know this as well.

Last edited by mrsocks : 06-18-2008 at 06:10 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-18-2008, 06:14 PM
Junior Member
 
Join Date: Jun 2008
Posts: 3
Default

To those that may have done what I'm trying to accomplish, please feel free to offer some examples and suggestions. We have tried creating our own interface similar to the way the Zend_Auth_Adapter_Http_Resolver_File, but not luck with it working yet. Again, if this is not the best way to accomplish what I'm doing, also feel free to pass along alternate suggestions.

Last edited by mitchlynch : 06-18-2008 at 06:55 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-18-2008, 06:20 PM
Junior Member
 
Join Date: Jun 2008
Location: earth
Posts: 14
Default

Looking forward to finding the answer.
Thanks.

Last edited by mrsocks : 06-18-2008 at 06:34 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-18-2008, 06:28 PM
Junior Member
 
Join Date: Jun 2008
Posts: 3
Default

I will certainly pass on any info that will help the community...we are close to getting it, but not there yet.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:25 AM.