Web Hosting Forum | Lunarpages

Author Topic: JDBC Authentication on Resin 3.1.9 - Help Requested  (Read 6079 times)

Offline SkillAdvance

  • Spaceship Navigator
  • *****
  • Posts: 82
    • Oracle, Java, Java EE Training
JDBC Authentication on Resin 3.1.9 - Help Requested
« on: April 21, 2010, 12:18:53 PM »
After spending three days trying to get a simple authentication mechanism working with a new web app, I'm pretty close to giving up the idea totally.

I have had my domain moved from an older server to a Resin 3.1.9 server, which should have hopefully gotten me somewhere.  However, the Caucho documentation is at best unclear and at worst incomplete (try this link to the Security documentation http://www.caucho.com/resin-3.1/doc/resin-security.xtp ) hence my frustration.

Ideally, I want to use JDBC authentication.  I have a working database connection (locally and at LP), I have Resin 3.1.9 running on my local machine and I should therefore be able to create a local system and duplicate it on LP servers.

 I know this has been asked before in this forum, but not completely answered, so here goes one more time ...

Can anyone provide a documented example of setting up Resin security authentication (XML, JDBC, I don't care at this point!!!) that would allow me to duplicate your work.

Thanks in advance,

Jeremy
JR
_______________________________________________________

SkillAdvance LLC
 Web:     http://www.skilladvance.com
_______________________________________________________

Offline SkillAdvance

  • Spaceship Navigator
  • *****
  • Posts: 82
    • Oracle, Java, Java EE Training
Re: JDBC Authentication on Resin 3.1.9 - Help Requested
« Reply #1 on: April 23, 2010, 01:39:14 PM »
OK - I finally got the login mechanism to work.  Logging out is another matter - I'm willing to trade a login mechanism for a logout!!  Anyone know how to kill a session in Resin from a JSP?  session.invalidate() doesn't seem to be working on my locally installed copy of Resin 3.1.9, nor on the shared version on my LP server.

JR
_______________________________________________________

SkillAdvance LLC
 Web:     http://www.skilladvance.com
_______________________________________________________

 

Share |