Re: [ANN] A Tapestry5 Based Security Module

2012-03-13 Thread Taha Hafeez Siddiqi
Hi Kalle I really enjoy it. It's 'plug-n-play' tapestry integration makes it suitable for small projects and Shiro's concept of permissions & roles for both object level and class level can handle complicated requirements as well. So, for me, no matter what the project requirements are, tapestr

Re: [ANN] A Tapestry5 Based Security Module

2012-03-13 Thread Kalle Korhonen
On Tue, Mar 13, 2012 at 5:54 AM, Taha Hafeez Siddiqi wrote: > I have myself using tapestry-security for most of my projects and that is > what I will recommend to you too. It is powered by Apache Shiro and is hosted > at tynamo.org. > http://tynamo.org/tapestry-security%20guide Thanks for the e

Re: [ANN] A Tapestry5 Based Security Module

2012-03-13 Thread Taha Hafeez Siddiqi
Hi Gaurav I have myself using tapestry-security for most of my projects and that is what I will recommend to you too. It is powered by Apache Shiro and is hosted at tynamo.org. http://tynamo.org/tapestry-security%20guide regards Taha On Mar 13, 2012, at 1:36 PM, gaurav wrote: > Hi Taha, > W

Re: [ANN] A Tapestry5 Based Security Module

2012-03-13 Thread gaurav
Hi Taha, When i click the link I got error 403. The link is http://code.google.com/p/tapestryauth Is there any other way to get access this code. Actually I need role based security in my app. And one more thing I want to say I like your blog but some of

Re: [ANN] A Tapestry5 Based Security Module

2011-06-22 Thread Taha Hafeez
Hi Angelo I have removed it along with other modules I had placed there. The reason being the confusion that is already there with modules. This is the only thing I don't like about tapestry. There is no standardization of extensions in tapestry like there is in spring(spring-extensions), wicket(

RE: [ANN] A Tapestry5 Based Security Module

2011-06-22 Thread Angelo C.
it's a nice module, but not even posted in java magic? -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-A-Tapestry5-Based-Security-Module-tp3322452p4514269.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

RE: [ANN] A Tapestry5 Based Security Module

2011-06-22 Thread Lakshminarayanan Selvaraju
I too get the same error. -Original Message- From: Angelo C. [mailto:angelochen...@gmail.com] Sent: Wednesday, June 22, 2011 10:23 AM To: users@tapestry.apache.org Subject: Re: [ANN] A Tapestry5 Based Security Module Hi Taha, where to get this source code, everytime I click the link it

Re: [ANN] A Tapestry5 Based Security Module

2011-06-22 Thread Angelo C.
Hi Taha, where to get this source code, everytime I click the link it says: 403. That’s an error. Your client does not have permission to get URL /p/tapestry-addons/ from this server. That’s all we know -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-A-Tapestry5-Based-

Re: [ANN] A Tapestry5 Based Security Module

2011-01-12 Thread Dmitry Gusev
This is cool, I'd like to try it. On Wed, Jan 12, 2011 at 17:47, Taha Hafeez wrote: > yes there is. I am working on a tutorial about this module > > taha > > > On Wed, Jan 12, 2011 at 7:15 PM, Dmitry Gusev >wrote: > > > Yes, I guess it might work. Do you already have AuthorityVoter support? > >

Re: [ANN] A Tapestry5 Based Security Module

2011-01-12 Thread Taha Hafeez
yes there is. I am working on a tutorial about this module taha On Wed, Jan 12, 2011 at 7:15 PM, Dmitry Gusev wrote: > Yes, I guess it might work. Do you already have AuthorityVoter support? > > On Wed, Jan 12, 2011 at 16:38, Taha Hafeez > wrote: > > > Will this work > > > > interface Buisness

Re: [ANN] A Tapestry5 Based Security Module

2011-01-12 Thread Dmitry Gusev
Yes, I guess it might work. Do you already have AuthorityVoter support? On Wed, Jan 12, 2011 at 16:38, Taha Hafeez wrote: > Will this work > > interface BuisnessObject { > public String getOwner(); > } > > class Foo implements BusinessObject { > } > > > class BusinessObjectVoter extends Author

Re: [ANN] A Tapestry5 Based Security Module

2011-01-12 Thread Taha Hafeez
Will this work interface BuisnessObject { public String getOwner(); } class Foo implements BusinessObject { } class BusinessObjectVoter extends AuthorityVoter { public void vote(Subject, Object object, Vote vote){ if(object instanceof BuisnessObject){ BusinessObject bs = (

Re: [ANN] A Tapestry5 Based Security Module

2011-01-12 Thread Dmitry Gusev
No, it can't. Role model is not enough here. I don't want _any_ manger to update _any_ foo instance. I want that *only manager created the foo instance* could update it. Can I do that with your lib? On Wed, Jan 12, 2011 at 16:04, Taha Hafeez wrote: > Can't that be achieved by securing service/da

Re: [ANN] A Tapestry5 Based Security Module

2011-01-12 Thread Taha Hafeez
Can't that be achieved by securing service/dao methods @RequiresLogin public interface FooDAO { @RequiresRole("ADMIN") public void add(Foo foo); @RequiresRole("MANAGER") public void update(Foo foo); } regards Taha On Wed, Jan 12, 2011 at 5:25 PM, Dmitry Gusev wrote: > Hi > > Is it possible

Re: [ANN] A Tapestry5 Based Security Module

2011-01-12 Thread Dmitry Gusev
Hi Is it possible using your library to implement security assertions based on business rules? For instance, only allow object owner or admins to edit this object? On Wed, Jan 12, 2011 at 14:38, Taha Hafeez wrote: > Hi > > I have made a number of changes in the project to support @Requires* > a

Re: [ANN] A Tapestry5 Based Security Module

2011-01-12 Thread Taha Hafeez
Hi I have made a number of changes in the project to support @Requires* annotations. There is support for voting and adding new voters and providers. Adding custom annotation is also very easy. There is also support for regular-expression based page-authorization if you don't like annotations or l

Re: [ANN] A Tapestry5 Based Security Module

2010-12-30 Thread Taha Hafeez
Hi Werner I think it can be... It can act as a tapestry-layer over any security/authentication framework... Will try to add an example for such a use but overall I want this as a standalone role-based access and permission-based access model for tapestry which is apt for small projects and can b

Re: [ANN] A Tapestry5 Based Security Module

2010-12-30 Thread Werner Keil
Hi, Is this related or may be used with SSO technologies like OpenID, SAML or OAuth? Werner

Re: [ANN] A Tapestry5 Based Security Module

2010-12-30 Thread Pablo Borges
Taha, I'm waiting. 2010/12/30 Taha Hafeez > Thanks > > There are three build-in rules Role, Principal, IP > > You can create your own rule by implementing the interface > > package com.google.code.tapestryaddons.security; > > public interface SecurityRuleHandler { > > boolean matches(String v

Re: [ANN] A Tapestry5 Based Security Module

2010-12-30 Thread Taha Hafeez
Thanks There are three build-in rules Role, Principal, IP You can create your own rule by implementing the interface package com.google.code.tapestryaddons.security; public interface SecurityRuleHandler { boolean matches(String value); } e.g I implemented the IP rule like this public cla

Re: [ANN] A Tapestry5 Based Security Module

2010-12-30 Thread Pablo Borges
Taha, congratulations. how do I implement my rules? example: User: rules, rules, etc.. write a documentation explaining how it works. could be the actual site of the project. abs. 2010/12/30 Taha Hafeez > Hi > > I have created a tapestry-security project based on tapestry5 with no > dependen