eoxserver.services.auth package¶
Submodules¶
eoxserver.services.auth.base module¶
eoxserver.services.auth.charonpdp module¶
eoxserver.services.auth.dummypdp module¶
eoxserver.services.auth.exceptions module¶
eoxserver.services.auth.interfaces module¶
-
class
eoxserver.services.auth.interfaces.PolicyDecisionPointInterface¶ Bases:
objectThis is the interface for Policy Decision Point (PDP) implementations.
This method takes an
OWSRequestobject as input and returns anAuthorizationResponseinstance. It is expected to check if the authenticated user (if any) is authorized to access the requested resource and set theauthorizedflag of the response accordingly.In case the user is not authorized, the content and status of the response shall be filled with an error message and the appropriate HTTP Status Code (403).
The method shall not raise any exceptions.
-
pdp_type¶ The type name of this PDP.