01: package org.osbl.authorization;
02:
03: import java.security.Permission;
04: import java.security.PermissionCollection;
05:
06: public interface Authorization {
07: boolean checkPermission(String userid, String permission,
08: String action);
09:
10: PermissionCollection getPermissions(String userid);
11:
12: Permission getPermission(String userid, String permission);
13:
14: void clearCache(String userid);
15: }
|