Re: [Acegisecurity-developer] JaasAuthenticationProvider problems with multiple webapps

2005-09-27 Thread Ray Krueger
That is in all honestly a hack that falls into one of those grey areas of standards and support amongst the various app servers. It was put in due to problems with one of the app servers out there. I'd love to remove it, but it has been in there a while now. I don't know who it works for like that,

Re: [Acegisecurity-developer] JaasAuthenticationProvider problems with multiple webapps

2005-09-27 Thread Eric Hedström
Hi Ray, Great, thanks! The useSystemProperty switch is fine, but from a philosophical standpoint, would you ever want to be set to true in a web application? Just curious... Eric On 26 Sep 2005 7:13, Ray Krueger wrote: The login.config.url proprety was being set by getFile().toString(). De

Re: Re: [Acegisecurity-developer] JaasAuthenticationProvider problems with multiple webapps

2005-09-27 Thread Ray Krueger
So far you haven't actually done anything with Jaas, so this is sort of off-topic for the thread. The problem you have is actually due to your configuration of the InMemoryDaoImpl. If you look at the stack trace you'll see that the UsernameNotFoundException is being thrown because "Not granted any

Re: Re: [Acegisecurity-developer] JaasAuthenticationProvider problems with multiple webapps

2005-09-27 Thread jagadish g
  Hi all, I am working on Authentication with JAAS using Acegisecurity. I am getting this following error: 2005-09-27 12:38:59,281 INFO  [net.sf.acegisecurity.adapters.jboss.JbossAcegiLoginModule] Successfully started JbossSpringLoginModule 2005-09-27 12:38:59,281 DEBUG [net.sf.acegisecurity.ad

Re: [Acegisecurity-developer] JaasAuthenticationProvider problems with multiple webapps

2005-09-26 Thread Ray Krueger
The login.config.url proprety was being set by getFile().toString(). Definitely a bug, it is now getUrl().toString(). Also, a new property called 'useSystemProperty' has been added to the JaasAuthenticationProvider to enable or disable the use of the java.security.auth.login.config system property

Re: [Acegisecurity-developer] JaasAuthenticationProvider problems with multiple webapps

2005-09-24 Thread Ben Alex
Eric Hedström wrote: So is there ever a reason to set the system property, rather than allowing each webapp to add a login.config.url? Am I doing something horribly wrong, or shall I open a Jira ticket or two? Hi Eric Ray wrote the JAAS provider, so he's probably best to answer. Would you p

[Acegisecurity-developer] JaasAuthenticationProvider problems with multiple webapps

2005-09-23 Thread Eric Hedström
Hello folks, I believe I have found some problems in the JaasAuthenticationProvider that surface when you are running multiple webapps that use it in the same JVM, dealing with the jaas.config files for the different apps. I am using Tomcat 5.0.28 on JDK 1.4.2_07. Currently afterPropertiesSet