Changeset 7260
- Timestamp:
- 02/08/10 13:28:59 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TI12-security/trunk/ndg_xacml/ndg/xacml/core/target.py
r7108 r7260 150 150 # or resource in the list of resources and so on 151 151 for targetSubElem in targetElem: 152 153 # For the given subject/resource/action/environment check for a 154 # match with the equivalent in the request 155 requestElem = getattr(request, attrName) 156 for requestSubElem in requestElem: 157 if self._matchChild(targetSubElem, request): 158 # Within the list of e.g. subjects if one subject 159 # matches then this counts as a subject match overall 160 # for this target 161 statusValues[i] = True 152 if self._matchChild(targetSubElem, request): 153 # Within the list of e.g. subjects if one subject 154 # matches then this counts as a subject match overall 155 # for this target 156 statusValues[i] = True 162 157 163 158 # Target matches if all the children (i.e. subjects, resources, actions
Note: See TracChangeset
for help on using the changeset viewer.