01: package org.osbl.authorization;
02:
03: import java.util.*;
04:
05: public abstract class PermissionCache {
06: protected static PermissionCache INSTANCE;
07:
08: public static PermissionCache getInstance() {
09: return INSTANCE;
10: }
11:
12: protected PermissionCache() {
13: }
14:
15: protected Map<String, SortedSet<String>> permissionsByAction = new HashMap<String, SortedSet<String>>();
16:
17: public abstract Map<String, SortedSet<String>> getPermissionsByAction();
18: }
|