1 """NDG XACML Policy Information Point interface definition
2
3 """
4 __author__ = "P J Kershaw"
5 __date__ = "15/07/10"
6 __copyright__ = "(C) 2010 Science and Technology Facilities Council"
7 __contact__ = "Philip.Kershaw@stfc.ac.uk"
8 __license__ = "BSD - see LICENSE file in top-level directory"
9 __contact__ = "Philip.Kershaw@stfc.ac.uk"
10 __revision__ = "$Id:$"
11 from abc import ABCMeta, abstractmethod
15 """Interface class for XACML Policy Information Point. The PDP can relay
16 attribute queries back via the Context handler to the PIP in order to help
17 it in making an access control decision
18 """
19 __metaclass__ = ABCMeta
20 __slots__ = ()
21
22 @abstractmethod
24 """Query this PIP for attributes"""
25 return []
26