[Acegisecurity-developer] incorporating Acegi from JSTL/Struts Tags

2005-04-26 Thread Greg Akins
I would like to use Acegi to display a value in a JSP
page conditionally.

Preferably using logic:present/

There is probably a pretty obvious answer to this; and
I'm going to go looking for it now.

However, I'm on a tight deadline.  So if anyone can
point me to a FAQ, Wiki entry... Or anything to help
I'd really appreciate it.

Thanks!


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=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] incorporating Acegi from JSTL/Struts Tags

2005-04-26 Thread Matt Raible
You should be able to use the roles attribute of logic:present if 
you enable Acegi's ContextHolderAwareRequestFilter 
(http://tinyurl.com/8knk9).

Matt
On Apr 26, 2005, at 8:45 AM, Greg Akins wrote:
I would like to use Acegi to display a value in a JSP
page conditionally.
Preferably using logic:present/
There is probably a pretty obvious answer to this; and
I'm going to go looking for it now.
However, I'm on a tight deadline.  So if anyone can
point me to a FAQ, Wiki entry... Or anything to help
I'd really appreciate it.
Thanks!
---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real 
users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=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] incorporating Acegi from JSTL/Struts Tags

2005-04-26 Thread Greg Akins
Thanks!

While I was checking into this I also ran into the
authz:authorize tag.

Any thoughts on whether it's better to call the roles
attribute using logic:present vs relying on the
Acegi tag libraries?

--- Matt Raible [EMAIL PROTECTED] wrote:
 You should be able to use the roles attribute of
 logic:present if 
 you enable Acegi's ContextHolderAwareRequestFilter 
 (http://tinyurl.com/8knk9).
 
 Matt
 
 On Apr 26, 2005, at 8:45 AM, Greg Akins wrote:
 
  I would like to use Acegi to display a value in a
 JSP
  page conditionally.
 
  Preferably using logic:present/
 
  There is probably a pretty obvious answer to this;
 and
  I'm going to go looking for it now.
 
  However, I'm on a tight deadline.  So if anyone
 can
  point me to a FAQ, Wiki entry... Or anything to
 help
  I'd really appreciate it.
 
  Thanks!
 
 
 

---
  SF email is sponsored by - The IT Product Guide
  Read honest  candid reviews on hundreds of IT
 Products from real 
  users.
  Discover which products truly live up to the hype.
 Start reading now.
 

http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
  ___
  Home: http://acegisecurity.sourceforge.net
  Acegisecurity-developer mailing list
  Acegisecurity-developer@lists.sourceforge.net
 

https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
 
 
 

---
 SF email is sponsored by - The IT Product Guide
 Read honest  candid reviews on hundreds of IT
 Products from real users.
 Discover which products truly live up to the hype.
 Start reading now.

http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
 ___
 Home: http://acegisecurity.sourceforge.net
 Acegisecurity-developer mailing list
 Acegisecurity-developer@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
 


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=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] incorporating Acegi from JSTL/Struts Tags

2005-04-26 Thread Matt Raible
You could certainly use either if you've enabled the filter I mentioned 
below.  I suppose it depends on how much you want your code to be tied 
to Acegi.  If there's a possibility you'll revert back to CMA someday, 
I'd use logic:present.

Matt
On Apr 26, 2005, at 9:44 AM, Greg Akins wrote:
Thanks!
While I was checking into this I also ran into the
authz:authorize tag.
Any thoughts on whether it's better to call the roles
attribute using logic:present vs relying on the
Acegi tag libraries?
--- Matt Raible [EMAIL PROTECTED] wrote:
You should be able to use the roles attribute of
logic:present if
you enable Acegi's ContextHolderAwareRequestFilter
(http://tinyurl.com/8knk9).
Matt
On Apr 26, 2005, at 8:45 AM, Greg Akins wrote:
I would like to use Acegi to display a value in a
JSP
page conditionally.
Preferably using logic:present/
There is probably a pretty obvious answer to this;
and
I'm going to go looking for it now.
However, I'm on a tight deadline.  So if anyone
can
point me to a FAQ, Wiki entry... Or anything to
help
I'd really appreciate it.
Thanks!


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT
Products from real
users.
Discover which products truly live up to the hype.
Start reading now.


http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT
Products from real users.
Discover which products truly live up to the hype.
Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real 
users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=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: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


[Acegisecurity-developer] Securing methods to the parameter level

2005-04-26 Thread Doody, John
Title: Message



I'm new to Acegi 
Security and I'm evaluating how it works and at the moment I'm not finding a way 
to declare method-level security with differing parameters. Is this 
possible with Acegi Security? To attempt to make my question 
clearer, here is an XML snippet of what I'm attempting:

property 
name="objectDefinitionSource" 
value 
com.example.Service.createAccount(AccountType.BUSINESS)=ROLE_SUPER_USER 
com.example.Service.createAccount(AccountType.CONSUMER)=ROLE_USER 
/value/property 

I've got the 
same method which allows fordifferent parameters. I don't want a 
principle with a ROLE_USER authority to access the method if they attempt to 
create a business account with the following method 
call:

 
com.example.Service.createAccount(AccountType.BUSINESS)

Thank you 
for the help.
John