| java.lang.Object org.jaffa.security.PolicyCache
PolicyCache | public class PolicyCache (Code) | | This class is the interface between the policy domain classes
and the Policy manager, it provide the data to the PolicyManager
in a more native format then in the domain objects
It also caches the policy information for multiple
access.
|
Method Summary | |
public static void | clearCache() Clear the cached policy. | static HashMap | getRoleMap() Get the list of roles and what functions are in each role. | public static Roles | getRoles() Returns the Roles domain objects. |
clearCache | public static void clearCache()(Code) | | Clear the cached policy. Will be reloaded on the next access.
|
getRoleMap | static HashMap getRoleMap()(Code) | | Get the list of roles and what functions are in each role.
The returned Hashmap is keyed on Role name (String), and each entry is a list (List) ofbusiness function names (String) |
getRoles | public static Roles getRoles()(Code) | | Returns the Roles domain objects. This are the objects created from the XML file. This is a cached copy and should not be modified.
Changing this will not effect the contents of the loaded policy, as the
policy will load on application startup.
The root Roles domain object for the current policy |
|
|