Package ndg :: Package xacml :: Package core :: Package functions
[hide private]

Package functions

source code

NDG XACML package for functions

NERC DataGrid


Date: 26/03/10

Author: P J Kershaw

Contact: Philip.Kershaw@stfc.ac.uk

Copyright: (C) 2010 Science and Technology Facilities Council

License: BSD - see LICENSE file in top-level directory

Submodules [hide private]

Classes [hide private]
  AbstractFunction
Abstract Base class for all XACML matching functions
  XacmlFunctionNames
XACML standard match function names
  UnsupportedFunctionError
Encountered a function type that is not recognised as part of the XACML specification and is not supported in this implementation
  UnsupportedStdFunctionError
Encountered a function type that is not supported even though it is part of the XACML specification
  OverwritingStdFunctionError
Attempting to overwrite a standard function namespace with a custom one (probably from load_custom_function method)
  FunctionClassFactoryInterface
Interface class for function module class factory class
  FunctionClassFactoryBase
Base implementation for XACML Function Class Factory.
  FunctionMapError
Generic Error exception class for FunctionMap
  FunctionMapConfigError
Configuration related exception for FunctionMap
  FunctionMap
Map function IDs to their class implementations in the various function sub-modules.
Functions [hide private]
UnsupportedFunctionError or UnsupportedStdFunctionError depending on the identifier passed
unsupportedFunctionErrorFactory(identifier, msg=None)
Factory function to return an unsupported function exception based on the function identifier passed in
source code
Variables [hide private]
  __revision__ = '$Id: __init__.py 8045 2012-03-16 17:50:04Z rwi...
  log = logging.getLogger(__name__)
  SPECIAL_TYPE_MAP = {'url-string': 'AnyURI', 'xpath-node': 'Str...
  functionMap = {}
  __package__ = 'ndg.xacml.core.functions'
Function Details [hide private]

unsupportedFunctionErrorFactory(identifier, msg=None)

source code 

Factory function to return an unsupported function exception based on the function identifier passed in

Parameters:
  • identifier (basestring) - XACML function namespace to check
Returns: UnsupportedFunctionError or UnsupportedStdFunctionError depending on the identifier passed
unsupported function exception instance

Variables Details [hide private]

__revision__

Value:
'$Id: __init__.py 8045 2012-03-16 17:50:04Z rwilkinson $'

SPECIAL_TYPE_MAP

Value:
{'url-string': 'AnyURI', 'xpath-node': 'String'}