Re: The authorize method of IAuthority

2011-01-21 Thread indika kumara
Thanks Eric for the clarification. On Fri, Jan 21, 2011 at 11:11 PM, Eric Evans wrote: > On Fri, 2011-01-21 at 22:45 +0600, indika kumara wrote: > > Shouldn't the existing method be changed to the following? > > > > public boolean authorize(AuthenticatedUser user, List > > resource, > > Permissi

Re: The authorize method of IAuthority

2011-01-21 Thread Eric Evans
On Fri, 2011-01-21 at 22:45 +0600, indika kumara wrote: > Shouldn't the existing method be changed to the following? > > public boolean authorize(AuthenticatedUser user, List > resource, > Permission permission); // checks the authority for a given user for > a > given resource for a given permi

The authorize method of IAuthority

2011-01-21 Thread indika kumara
Hi All, Shouldn't the existing method be changed to the following? public boolean authorize(AuthenticatedUser user, List resource, Permission permission); // checks the authority for a given user for a given resource for a given permission The existing method: public EnumSet authorize(Authent