cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Rusnak <m...@cyberspace.sk>
Subject Database connection from custom Authenticator class
Date Tue, 21 Sep 2004 12:20:46 GMT
Dear All,

I use my own authenticator class which implements interface:

org.apache.cocoon.webapps.authentication.components.Authenticator

I configured it as it is described in the documentation. Here is the 
handler configuration:

<handler name="portalhandler">
     <redirect-to uri="cocoon:/sunspotdemoportal"/>
     <authentication authenticator="mypkg.MyAuthenticator"/>
</handler>

I want to do custom database query to verify the user credentials,
but I dont know how to obtain the database connection from the pool.

Martin


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message