[Acegisecurity-developer] JBoss container adapter

2005-07-06 Thread Marco Mistroni
hello all,
  i plan to use JBoss container adapter for integrating Acegi into my
webapplication, but i have few doubts about how to do that..
i have read acegi documentation and i have a questions:
- am i right in assuming that i have to write a beanRefFactory.xml
file, to place in
$jbosshome/server/yourconfig/confdirectory?

thanks in advance and regards
  marco


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


[Acegisecurity-developer] JBoss container adapter (2)

2005-07-06 Thread Marco Mistroni
Hello all,
  sorry, i sent the previous message and i forgot to add one
additional question...
about beanRefFactory.xml

In the above code fragment, authenticationManager is a helper property
that defines the expected name of the AuthenticationManager in case
you have several defined in the IoC container. The singletonId
property references a bean defined in a beanRefFactory.xml file. This
file needs to be available from anywhere on the JBoss classpath,
including $JBOSS_HOME/server/your_config/conf. The beanRefFactory.xml
contains the following declaration:


beans
  bean id=springRealm singleton=true lazy-init=true
class=org.springframework.context.support.ClassPathXmlApplicationContext
constructor-arg
  list
valueacegisecurity.xml/value
  /list
/constructor-arg
  /bean
/beans

i have acegi security scattered throughout 3 different files (like in
contact sample application), and in my application i have 5 different
spring configuration files
what should be the value of hte constructor-arg list?
only acegi-related  spring files?
what if those acegi-related spring files refers to a bean defined in a
separate spring config file (i am using that datasource also for some
other beans) ?


thanks in advance and regards
  marco



-- Forwarded message --
From: Marco Mistroni [EMAIL PROTECTED]
Date: Jul 6, 2005 12:15 PM
Subject: JBoss container adapter
To: acegisecurity-developer@lists.sourceforge.net


hello all,
 i plan to use JBoss container adapter for integrating Acegi into my
webapplication, but i have few doubts about how to do that..
i have read acegi documentation and i have a questions:
- am i right in assuming that i have to write a beanRefFactory.xml
file, to place in
$jbosshome/server/yourconfig/confdirectory?

thanks in advance and regards
 marco


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


[Acegisecurity-developer] JBoss container adapter(2)

2005-07-06 Thread Marco Mistroni
Hello all,
  sorry for this, but i forgot to ask another question about beanRefFactory.xml

The beanRefFactory.xml contains the following declaration:

beans
  bean id=springRealm singleton=true lazy-init=true
class=org.springframework.context.support.ClassPathXmlApplicationContext
constructor-arg
  list
valueacegisecurity.xml/value
  /list
/constructor-arg
  /bean
/beans

my acegi security files for srping are 3 (like inthe contact sample
application), and in my webapp i use 5 different spring context
files..
what should i put in the list of constructor-arg ? only acegi-related
spring files or all my spring configuration files?

thanks in advance and regards
 marco





-- Forwarded message --
From: Marco Mistroni [EMAIL PROTECTED]
Date: Jul 6, 2005 12:15 PM
Subject: JBoss container adapter
To: acegisecurity-developer@lists.sourceforge.net


hello all,
 i plan to use JBoss container adapter for integrating Acegi into my
webapplication, but i have few doubts about how to do that..
i have read acegi documentation and i have a questions:
- am i right in assuming that i have to write a beanRefFactory.xml
file, to place in
$jbosshome/server/yourconfig/confdirectory?

thanks in advance and regards
 marco


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


[Acegisecurity-developer] Acegi from CVS has failind test

2005-07-06 Thread Paulo Neves
Hi,

 I get acegi from cvs with maven, like page says.
 When I do maven jar:install I obtain a failind test

log4j:WARN Please initialize the log4j system properly.
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0,187 sec
[junit] Running net.sf.acegisecurity.util.StringSplitUtilsTests
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0,015 sec
[junit] Running
net.sf.acegisecurity.util.WebXmlToAcegiSecurityConverterTests
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0,031 sec
[junit] [ERROR] TEST
net.sf.acegisecurity.util.WebXmlToAcegiSecurityConverterTests FAILED
[junit] Running net.sf.acegisecurity.vote.AbstractAccessDecisionManagerTests
[junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0,032 sec
[junit] Running net.sf.acegisecurity.vote.AffirmativeBasedTests
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0,141 sec
[junit] Running net.sf.acegisecurity.vote.BasicAclEntryVoterTests


what could be? I try from diferent computers with diferent jvm (1.4.2
and 1.5 ) and
always have this error.

Thanks,
Paulo



On 7/5/05, March, Andres [EMAIL PROTECTED] wrote:
 Attached patch to
 http://opensource.atlassian.com/projects/spring/browse/SEC-32
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf
 Of
  March, Andres
  Sent: Tuesday, July 05, 2005 10:05 AM
  To: acegisecurity-developer@lists.sourceforge.net
  Subject: RE: [Acegisecurity-developer] ACL interfaces
 
  Will do.
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On
 Behalf
  Of
   Ben Alex
   Sent: Friday, July 01, 2005 6:24 PM
   To: acegisecurity-developer@lists.sourceforge.net
   Subject: Re: [Acegisecurity-developer] ACL interfaces
  
   March, Andres wrote:
  
Thanks to the acegi team, my ACL implementation is relatively
  simple.
But I have been struggling a little finding the proper extension
points.  The basic implementations are great but I have them hard
 to
extend.  In particular, the BasicAclEntryAfterInvocationProvider
requires the use of the AbstractBasicAclEntry, so it can call
isPermitted().  I am wondering why this method cannot be part of
 an
interface (maybe BasicAclEntry).  For various reasons, some of
 them
hibernate-related, I need to have my own implementation of
BasicAclEntry.   Does this make sense?
   
   
  
   I can't see any problem with this at first glance, but would need to
   take a closer look. Could you please add it to JIRA?
  
   Thanks
   Ben
  
  
   ---
   SF.Net email is sponsored by: Discover Easy Linux Migration
 Strategies
   from IBM. Find simple to follow Roadmaps, straightforward articles,
   informative Webcasts and more! Get everything you need to get up to
   speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
   ___
   Home: http://acegisecurity.sourceforge.net
   Acegisecurity-developer mailing list
   Acegisecurity-developer@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
 
 
  ---
  SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
  from IBM. Find simple to follow Roadmaps, straightforward articles,
  informative Webcasts and more! Get everything you need to get up to
  speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=ick
  ___
  Home: http://acegisecurity.sourceforge.net
  Acegisecurity-developer mailing list
  Acegisecurity-developer@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
 
 
 ---
 SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492opclick
 ___
 Home: http://acegisecurity.sourceforge.net
 Acegisecurity-developer mailing list
 Acegisecurity-developer@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Acegi from CVS has failind test

2005-07-06 Thread Ben Alex

Paulo Neves wrote:


testFileConversion(net.sf.acegisecurity.util.WebXmlToAcegiSecurityConverterTests):
  

That test case is associated with work Luke's doing on the web.xml 
converter tool. Luke, would you please take a look?


Thanks
Ben


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Acegi from CVS has failind test

2005-07-06 Thread Luke Taylor
I probably haven't run the test through Maven (just through IntelliJ), 
so it's not finding the test file it needs. I'll check it out.


Ben Alex wrote:

Paulo Neves wrote:

testFileConversion(net.sf.acegisecurity.util.WebXmlToAcegiSecurityConverterTests):



That test case is associated with work Luke's doing on the web.xml 
converter tool. Luke, would you please take a look?


Thanks
Ben





--
 Luke Taylor.  Monkey Machine Ltd.
 PGP Key ID: 0x57E9523Chttp://www.monkeymachine.ltd.uk



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


[Acegisecurity-developer] Any support for multiple login pages ?

2005-07-06 Thread Pascal Gehl
Hi guys,

Sorry to send to the developper mailing list but I can't get answers from
the spring mailing list.

I have a requirement to have different login pages depending on which
ressource is accessed.
I checked the acegi API and found nothing. 
Is there a hidden way to do that ?

thanks

Pascal Gehl


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Luke Taylor
Sent: Wednesday, July 06, 2005 10:42
To: acegisecurity-developer@lists.sourceforge.net
Subject: Re: [Acegisecurity-developer] Acegi from CVS has failind test

I probably haven't run the test through Maven (just through IntelliJ), so
it's not finding the test file it needs. I'll check it out.

Ben Alex wrote:
 Paulo Neves wrote:
 

testFileConversion(net.sf.acegisecurity.util.WebXmlToAcegiSecurityConverterT
ests):


 That test case is associated with work Luke's doing on the web.xml 
 converter tool. Luke, would you please take a look?
 
 Thanks
 Ben
 
 


-- 
  Luke Taylor.  Monkey Machine Ltd.
  PGP Key ID: 0x57E9523Chttp://www.monkeymachine.ltd.uk



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from
IBM. Find simple to follow Roadmaps, straightforward articles, informative
Webcasts and more! Get everything you need to get up to speed, fast.
http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer