cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From indika kumara <>
Subject The authorize method of IAuthority
Date Fri, 21 Jan 2011 16:45:14 GMT
Hi All,

Shouldn't the existing method be changed to the following?

public boolean authorize(AuthenticatedUser user, List<Object> resource,
Permission permission);   // checks the authority for a given user for a
given resource for a given permission

The existing method:

public EnumSet<Permission> authorize(AuthenticatedUser user, List<Object>

I noticed that we retrieved all permissions and checks
'perms.contains(perm)'  ... May permissions be cached at later?



View raw message