I found the immediate cause of the error - 

the "authenticationResourceName" is null in the call
        final String authenticationResourceName =
configuration.getAuthenticationResource();

and hence the call below fails:
 source = SourceUtil.getSource
authenticationResourceName, null,              
parameters, this.resolver);

This begs the question of how does the
authenticationResourceName get set, so that
configuration.getAuthenticationResource() returns the
correct value?

thx
Paul

--- Paul Joseph <[EMAIL PROTECTED]> wrote:

> Oops.  I copied the PipelineAuthenticaor, added a db
> call to validate the uname/pwd and called my
> modified
> file WebTaskAuthenticator.
> 
> Apart from that it it identical (promise!) to
> PipelineAuthenticator!
> 
> thx
> Paul
> --- Christoph Kliemt <[EMAIL PROTECTED]>
> wrote:
> 
> > hi!
> > 
> > Paul Joseph <[EMAIL PROTECTED]> writes:
> > 
> > > Hi,
> > >
> > > I am trying to use the PipelineAuthenticator
> > provided in the
> > > authentication-fw block, but am getting a NPE.
> > 
> > [... exception snipped ...]
> > 
> > 
> > >
> >
> org.apache.cocoon.webapps.authentication.components.
> > >
> >
>
WebTaskAuthenticator.authenticate(WebTaskAuthenticator.java:178)
> > 
> > What is this? I did not find this class in cocoons
> > sources...?
> > 
> > hth christoph
> > 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> > 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


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

Reply via email to