Re: [ANN] A Tapestry5 Based Security Module

2012-03-13 Thread gaurav
of the things I don't understand in your post. usually most of the part is code and less explanation. So it very hard to understand for beginners like me. Thanks Regards Gaurav P Singh -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-A-Tapestry5-Based-Security-Module

Re: [ANN] A Tapestry5 Based Security Module

2012-03-13 Thread Taha Hafeez Siddiqi
of the things I don't understand in your post. usually most of the part is code and less explanation. So it very hard to understand for beginners like me. Thanks Regards Gaurav P Singh -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-A-Tapestry5-Based-Security

Re: [ANN] A Tapestry5 Based Security Module

2012-03-13 Thread Kalle Korhonen
this message in context: http://tapestry.1045711.n5.nabble.com/ANN-A-Tapestry5-Based-Security-Module-tp3322452p5560248.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: [ANN] A Tapestry5 Based Security Module

2012-03-13 Thread Taha Hafeez Siddiqi
and less explanation. So it very hard to understand for beginners like me. Thanks Regards Gaurav P Singh -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-A-Tapestry5-Based-Security-Module-tp3322452p5560248.html Sent from the Tapestry - User mailing list archive

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-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

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 Taha Hafeez
. angelochen...@gmail.com wrote: 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-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

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 tawus.tapes...@gmail.com wrote: Hi I have made a number of changes in the project to

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 dmitry.gu...@gmail.comwrote: Hi

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 tawus.tapes...@gmail.com wrote: Can't that be

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 AuthorityVoterBusinessVoter { public void vote(Subject, Object object, Vote vote){ if(object instanceof BuisnessObject){

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 tawus.tapes...@gmail.com wrote: Will this work interface BuisnessObject { public String getOwner(); } class Foo implements BusinessObject { } class BusinessObjectVoter

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 dmitry.gu...@gmail.comwrote: Yes, I guess it might work. Do you already have AuthorityVoter support? On Wed, Jan 12, 2011 at 16:38, Taha Hafeez tawus.tapes...@gmail.com wrote:

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 tawus.tapes...@gmail.com 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 dmitry.gu...@gmail.com wrote: Yes, I guess it might work. Do you

[ANN] A Tapestry5 Based Security Module

2010-12-30 Thread Taha Hafeez
Hi I have created a tapestry-security project based on tapestry5 with no dependencies on any security frameworks... SMALL INTRODUCTION --- It supports Roles, Principals IP for now and I intend to add permissions also.. there are three components

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 tawus.tapes...@gmail.com Hi I have created a tapestry-security project based on

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

Re: [ANN] A Tapestry5 Based Security Module

2010-12-30 Thread Pablo Borges
Taha, I'm waiting. 2010/12/30 Taha Hafeez tawus.tapes...@gmail.com 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

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 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