You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Derek Hohls <dh...@csir.co.za> on 2004/06/14 18:58:46 UTC

Hibernate Authentication sample not working?

I cannot get the Hibernate Authentication Sample from the
wiki:  
http://wiki.cocoondev.org/Wiki.jsp?page=HibernateAndTheAuthenticationFramework
to work.

I get the following errors in the Cocoon error.log and the
sitemap.log files:

ERROR   (2004-06-14) 12:48.34:403   [sitemap]
(/cocoon215/basic/authentication-hib/do-login)
http8080-Processor4/AuthGen: Error: Could not find component (key
[htest.PersistenceFactory])
ERROR   (2004-06-14) 12:48.34:433   [sitemap]
(/cocoon215/basic/authentication-hib/do-login)
http8080-Processor4/AuthGen: Error: null

FWIW, I have placed the PersistenceFactory.class file in
the "htest" directory under WEB-INF/classes...

Any help appreciated!

Thanks
Derek

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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


RE: Hibernate Authentication sample not working?

Posted by Hugo Burm <hu...@xs4all.nl>.
The example you are using uses a generator to do the authentication.
Meanwhile, I found out (thanks to much better documentation!), that the
authentication pipeline can call a java class directly. No need for actions
or generators and additional pipelines.
So I updated the Wiki page five minutes ago.
It looks like you only need a small subset of the whole thing (see the
authentication paragraph). The rest of the post is for users who want to
replace the "flat file" "single role user management" from the (old?) portal
with something that is stored in a database.

Hugo Burm

> -----Original Message-----
> From: Derek Hohls [mailto:dhohls@csir.co.za]
> Sent: Monday, June 14, 2004 6:59 PM
> To: users@cocoon.apache.org
> Subject: Hibernate Authentication sample not working?
>
>
> I cannot get the Hibernate Authentication Sample from the
> wiki:
> http://wiki.cocoondev.org/Wiki.jsp?page=HibernateAndTheAuthent
> icationFramework
> to work.
>
> I get the following errors in the Cocoon error.log and the
> sitemap.log files:
>
> ERROR   (2004-06-14) 12:48.34:403   [sitemap]
> (/cocoon215/basic/authentication-hib/do-login)
> http8080-Processor4/AuthGen: Error: Could not find component (key
> [htest.PersistenceFactory])
> ERROR   (2004-06-14) 12:48.34:433   [sitemap]
> (/cocoon215/basic/authentication-hib/do-login)
> http8080-Processor4/AuthGen: Error: null
>
> FWIW, I have placed the PersistenceFactory.class file in
> the "htest" directory under WEB-INF/classes...
>
> Any help appreciated!
>
> Thanks
> Derek
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> MailScanner thanks transtec Computers for their support.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


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