-
1. Re: To Gavin king__suggestion about restriction
ybxiang.wolf Jun 15, 2007 4:52 AM (in response to ybxiang.wolf)Another reason why i want to do like that:
My customers need an UI Interface to assign permisisons by themselves. When i told them the concept of roles and permissions, they told me:"I just want select one user and assign some permission to him, and nothing more!"
I have thought about this question about one year!!!I implements this feature by HttpSession.
Now seam is so good, I will never use old framework. And i hope seam has this feature so much!!! Please!!! -
2. Re: To Gavin king__suggestion about restriction
ybxiang.wolf Jun 15, 2007 4:57 AM (in response to ybxiang.wolf)I have read "seam_reference" and "JBoss seam-simplity and power beyond java", i really love them!!!!!
haha.................... -
3. Re: To Gavin king__suggestion about restriction
gavin.king Jun 15, 2007 4:57 AM (in response to ybxiang.wolf)I think you've got kind of the wrong idea about what the security rulebase should look like.
It should not have 1000s of rules, 1 for each user, instead it should have one rule which says: "if the needed Permission belongs to User.getPermissions(), grant the permission". -
4. Re: To Gavin king__suggestion about restriction
ybxiang.wolf Jun 15, 2007 5:18 AM (in response to ybxiang.wolf)"gavin.king@jboss.com" wrote:
I think you've got kind of the wrong idea about what the security rulebase should look like.
It should not have 1000s of rules, 1 for each user, instead it should have one rule which says: "if the needed Permission belongs to User.getPermissions(), grant the permission".
**************************************************
It should not have 1000s of rules, 1 for each user, instead it should have one rule which says: "if the needed Permission belongs to User.getPermissions(), grant the permission".
~~~~~~~~~~~This is just what i want!
~~~~~~~~~~~This is just what i want!
~~~~~~~~~~~This is just what i want!
~~~~~~~~~~~This is just what i want!
~~~~~~~~~~~This is just what i want!
I think i haven't grasp drools and cann't use it correctly. I will spend more time on drools and seam.
Thank you so much!!!
You are the best(NOT so called "one of the best") in jboss.com. -
5. Re: To Gavin king__suggestion about restriction
ybxiang.wolf Jun 15, 2007 5:25 AM (in response to ybxiang.wolf)Gavin king:
Thank you again!!!
You make java better!!! You are changing JAVA and JAVAers!!! You are the best!!!