Martin Rusnak wrote:
Do a lookup with a service manager:

manager.lookup(org.apache.avalon.excalibur.datasource.DataSourceComponen
t.ROLE + "Selector");


But I don't have a reference to the service manager, at least I don't know
how to get it. Here is MyAuthenticator class code:

Authenticator classes are managed by cocoon though, so just make it implement any of the lifecycle interfaces. For the servicemanager, just implement the Serviceable interface.


Be aware that the Authenticator must be thread-safe.

http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/webapps/authentication/components/Authenticator.html


Regards Jorg


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to