You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Firas Adiler <ta...@idigna.com> on 2006/12/14 11:37:05 UTC

T-Acegi: An AuthenticationManager is required

Hello,
 
Following steps in this thread
http://forum.springframework.org/showthread.php?t=24013 I managed to get
acegi working using JdbcDaoImpl. Now I get an ApplicationRuntimeException as
soon as I call the webapp url. Unfortunatly, I can't rollback the changes
that affected this misbehavior, since I'm not aware of the modification(s)
that caused it.  
 
-----
Unable to initialize service tapestry.acegi.BasicProcessingFilter (by
invoking method afterPropertiesSet on
org.acegisecurity.ui.basicauth.BasicProcessingFilter): An
AuthenticationManager is required
[jar:file:/path/to/tapestry-acegi.jar!/META-INF/hivemodule.xml, line 44,
column 25]
...
-----
 
Any ideas for what causing this exception?
 
Thanks for your time!
 
</Firas>
 
P.S. The information on the Wiki
<http://wiki.apache.org/tapestry/AcegiSpringJava5?highlight=%28acegi%29>
pages is incorrect/outdated

Re: T-Acegi: An AuthenticationManager is required

Posted by James Carman <ja...@carmanconsulting.com>.
>   No, I'm not using tapestry-spring.

Well, HiveMind needs to know how to find the Spring objects.  So, just
drop tapestry-spring.jar into your WEB-INF/lib dir and see if that
fixes it (as long as your spring config file is named/located
appropriately).


> What is the alternative way to configure acegi?

You use HiveMind to instantiate/configure your acegi objects.

On 12/18/06, Firas Adiler <ta...@idigna.com> wrote:
>
> > Are you using tapestry-spring?
>   No, I'm not using tapestry-spring. It turns out that I got it to work
> correctly using only spring's ContextLoaderListener approach. And as you may
> have guessed, it doesn't work when dropping tapestry-acegi into the
> classpath. The exception I get is the same, "An AuthenticationManager is
> required" (please see my initial post).
>
> > I didn't use Spring to set up my stuff...
>   What is the alternative way to configure acegi? Does it offer the same
> fine-grained control as spring's config xml?
>
> Thanks for your time!
>
> </Firas>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

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


RE: T-Acegi: An AuthenticationManager is required

Posted by Firas Adiler <ta...@idigna.com>.
 
> Are you using tapestry-spring?
  No, I'm not using tapestry-spring. It turns out that I got it to work
correctly using only spring's ContextLoaderListener approach. And as you may
have guessed, it doesn't work when dropping tapestry-acegi into the
classpath. The exception I get is the same, "An AuthenticationManager is
required" (please see my initial post).

> I didn't use Spring to set up my stuff...
  What is the alternative way to configure acegi? Does it offer the same
fine-grained control as spring's config xml?

Thanks for your time!
 
</Firas>


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


Re: T-Acegi: An AuthenticationManager is required

Posted by James Carman <ja...@carmanconsulting.com>.
I didn't use Spring to set up my stuff, but in theory that should
work.  Are you using tapestry-spring?


On 12/15/06, Firas Adiler <ta...@idigna.com> wrote:
> Hello James,
>
> >> The tapestry-acegi library works...
> I don't doubt it
>
> >> ...and it's been working flawlessly
> I had it working that way too...until the problem, described erlier, cropped
> up.
>
> A qouple of questions:
>         Do you use JdbcDaoImpl or InMemoryDaoImpl?
>         Did you set up tapestry-acegi exactly as it described on the wiki
> page?
>
> Me, and others reading this archive, will appreciate your help.
>
> Thanks,
>
> </Firas>
>
> P.S. My platform - Java 6, Tomcat 5.5.17, Tapestry 4.0.2
>
>
>
>
>
> -----Original Message-----
> On 12/14/06, Firas Adiler <ta...@idigna.com> wrote:
> > Hello,
> >
> > Following steps in this thread
> > http://forum.springframework.org/showthread.php?t=24013 I managed to
> > get acegi working using JdbcDaoImpl. Now I get an
> > ApplicationRuntimeException as soon as I call the webapp url.
> > Unfortunatly, I can't rollback the changes that affected this
> > misbehavior, since I'm not aware of the modification(s) that caused it.
> >
> > -----
> > Unable to initialize service tapestry.acegi.BasicProcessingFilter (by
> > invoking method afterPropertiesSet on
> > org.acegisecurity.ui.basicauth.BasicProcessingFilter): An
> > AuthenticationManager is required
> > [jar:file:/path/to/tapestry-acegi.jar!/META-INF/hivemodule.xml, line
> > 44, column 25] ...
> > -----
> >
> > Any ideas for what causing this exception?
> >
> > Thanks for your time!
> >
> > </Firas>
> >
> > P.S. The information on the Wiki
> > <http://wiki.apache.org/tapestry/AcegiSpringJava5?highlight=%28acegi%2
> > 9>
> > pages is incorrect/outdated
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

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


RE: T-Acegi: An AuthenticationManager is required

Posted by Firas Adiler <ta...@idigna.com>.
Hello James,

>> The tapestry-acegi library works...
I don't doubt it

>> ...and it's been working flawlessly
I had it working that way too...until the problem, described erlier, cropped
up.

A qouple of questions:
	Do you use JdbcDaoImpl or InMemoryDaoImpl?
	Did you set up tapestry-acegi exactly as it described on the wiki
page?

Me, and others reading this archive, will appreciate your help.

Thanks,

</Firas>

P.S. My platform - Java 6, Tomcat 5.5.17, Tapestry 4.0.2





-----Original Message-----
On 12/14/06, Firas Adiler <ta...@idigna.com> wrote:
> Hello,
>
> Following steps in this thread
> http://forum.springframework.org/showthread.php?t=24013 I managed to 
> get acegi working using JdbcDaoImpl. Now I get an 
> ApplicationRuntimeException as soon as I call the webapp url. 
> Unfortunatly, I can't rollback the changes that affected this 
> misbehavior, since I'm not aware of the modification(s) that caused it.
>
> -----
> Unable to initialize service tapestry.acegi.BasicProcessingFilter (by 
> invoking method afterPropertiesSet on
> org.acegisecurity.ui.basicauth.BasicProcessingFilter): An 
> AuthenticationManager is required 
> [jar:file:/path/to/tapestry-acegi.jar!/META-INF/hivemodule.xml, line 
> 44, column 25] ...
> -----
>
> Any ideas for what causing this exception?
>
> Thanks for your time!
>
> </Firas>
>
> P.S. The information on the Wiki
> <http://wiki.apache.org/tapestry/AcegiSpringJava5?highlight=%28acegi%2
> 9>
> pages is incorrect/outdated
>
>


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


Re: T-Acegi: An AuthenticationManager is required

Posted by James Carman <ja...@carmanconsulting.com>.
The tapestry-acegi library works (we use it at work currently and it's
been working flawlessly).  I don't know about the wiki page, but it
appears to be quite well written.  I'm glad someone took the time to
document my work for me. :-)



On 12/14/06, Firas Adiler <ta...@idigna.com> wrote:
> Hello,
>
> Following steps in this thread
> http://forum.springframework.org/showthread.php?t=24013 I managed to get
> acegi working using JdbcDaoImpl. Now I get an ApplicationRuntimeException as
> soon as I call the webapp url. Unfortunatly, I can't rollback the changes
> that affected this misbehavior, since I'm not aware of the modification(s)
> that caused it.
>
> -----
> Unable to initialize service tapestry.acegi.BasicProcessingFilter (by
> invoking method afterPropertiesSet on
> org.acegisecurity.ui.basicauth.BasicProcessingFilter): An
> AuthenticationManager is required
> [jar:file:/path/to/tapestry-acegi.jar!/META-INF/hivemodule.xml, line 44,
> column 25]
> ...
> -----
>
> Any ideas for what causing this exception?
>
> Thanks for your time!
>
> </Firas>
>
> P.S. The information on the Wiki
> <http://wiki.apache.org/tapestry/AcegiSpringJava5?highlight=%28acegi%29>
> pages is incorrect/outdated
>
>

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