Re: [Acegisecurity-developer] Spring Security is not portable

2009-05-14 Thread Ray Krueger
 I have a simple war where I used spring-security to implement a BASIC login
 using JAAS.  It works fine on Tomcat but on JBoss I get the following
 error.  It seems to be ignoring my spring-security configuration because it
 wants to load users/roles from local file.

 13:54:02,128 ERROR [UsersRolesLoginModule] Failed to load
 users/passwords/role f
 iles
 java.io.IOException: No properties file: users.properties or defaults:
 defaultUs
 ers.properties found
     at org.jboss.security.auth.spi.Util.loadProperties(Util.java:315)
     at
 org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRole
 sLoginModule.java:186)

 Why isn't this portable to JBoss?

It is all portable to JBoss. What you have is a JBoss problem, not an
Acegi problem.
This might help...
http://www.jboss.org/community/wiki/UsersRolesLoginModule

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Spring Security is not portable

2009-05-14 Thread David Hoffer
I don't understand.  I see the link explains the UsersRolesLoginModule, the
property files it uses, and how to subclass it, etc.

What I don't understand is what in JBoss needs to be 'fixed' so that
spring-security is portable.  I'm using JAAS in spring-security so I can't
add also add users to UsersRolesLoginModule's property files, etc.

Please explain.

-Dave


On Thu, May 14, 2009 at 6:08 PM, Ray Krueger raykrue...@gmail.com wrote:

  I have a simple war where I used spring-security to implement a BASIC
 login
  using JAAS.  It works fine on Tomcat but on JBoss I get the following
  error.  It seems to be ignoring my spring-security configuration because
 it
  wants to load users/roles from local file.
 
  13:54:02,128 ERROR [UsersRolesLoginModule] Failed to load
  users/passwords/role f
  iles
  java.io.IOException: No properties file: users.properties or defaults:
  defaultUs
  ers.properties found
  at org.jboss.security.auth.spi.Util.loadProperties(Util.java:315)
  at
  org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRole
  sLoginModule.java:186)
 
  Why isn't this portable to JBoss?

 It is all portable to JBoss. What you have is a JBoss problem, not an
 Acegi problem.
 This might help...
 http://www.jboss.org/community/wiki/UsersRolesLoginModule


 --
 Crystal Reports - New Free Runtime and 30 Day Trial
 Check out the new simplified licensing option that enables
 unlimited royalty-free distribution of the report engine
 for externally facing server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 Home: http://acegisecurity.org
 Acegisecurity-developer mailing list
 Acegisecurity-developer@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer