| Method Summary |
| |
__init__(self)
Only initialises the matrix. |
| |
printMatrix(self)
|
| |
recalculateMatrix(self)
Loads the permissions information from files and databases into the
memory. |
| |
validate(self,
actor,
target,
action)
Checks the given action against the available rules. |
| |
_applyOneDirectRule(self,
rule,
groups,
actorsTargets,
actionFilters,
depth)
Applies a single rule to the matrix. |
| |
_assembleMatrix(self,
rulesets,
groups,
startRuleset)
Assembles the access matrix by processing the given dictionaries and
further local information. |
| |
_checkAgainstOneActionString(self,
action,
polActionString)
Checks the given action string against an action string from a
policy. |
| |
_createDictionaries(self,
rolesets,
groups,
rulesets)
Processed the list from the unwrapper and creates easier accessible
dictionaries. |
List of Couple
|
_decodeCouples(self,
actor,
actortype,
target,
targettype)
Processes a actor - target wildcard relation and returns the
corresponding values for them. |
| |
_decodeCouples_ActorMemberGroup(self,
actor,
target,
targettype)
Sub routine for _decodeCouples. |
| |
_decodeCouples_SingleActorMember(self,
actor,
target,
targettype)
Sub routine for _decodeCouples. |
| |
_decodeGroup(self,
type,
wildcard)
Processes wildcard information in one group. |
| |
_determineIndependantTargets(self,
targettype,
target)
Assembles a target list which is independant from the actor type. |
| |
_logEntry(self,
actor,
target,
action,
reaction,
reportPolicyError)
Reports this access control access to the logging facilities. |
| |
_processOneRuleset(self,
rulesets,
groups,
currentRule,
actorsTargets,
actionFilters,
depth)
Processes one rule. |
| |
_resolveGroup(self,
rolename,
groups)
Actors and targets may be defined as groups in the rule - let's
resolve them in here. |