Security Models

class registry.models.security.AllowedOperation(*args, **kwargs)

A AllowedOperation represents a security configuration for a given registry.models.service.Service.

Attr operations

django.db.models.fields.related.ManyToManyField field to configure allowed OGC operations.

Attr allowed_groups

django.db.models.fields.related.ManyToManyField field to configure allowed groups to access the configured service.

Attr allowed_area

(optional) django.contrib.gis.db.models.fields.MultiPolygonField to configure an allowed area. If set, only the configured area is allowed to request.

Attr description

django.db.models.fields.CharField short description for better administrating different AllowedOperation instances.

One allowed operation is a configuration to allow

Warning

IF there are two AllowedOperation instances for the same set of operations and allowed_groups and one has no allowed area configured the one with allowed_area=None allows all areas.

class registry.models.security.AllowedWebFeatureServiceOperation(id, allowed_area, description, secured_service)
exception DoesNotExist
exception MultipleObjectsReturned
save(*args, **kwargs)

Custom save function to update related registry.models.security.ProxySetting instance. IF there is a related registry.models.security.ProxySetting instance, the ProxySetting.camouflage attribute is updated to the value True ELSE we create a new registry.models.security.ProxySetting instance with the initial camouflage=True attribute.

class registry.models.security.AllowedWebMapServiceOperation(id, allowed_area, description, secured_service)
exception DoesNotExist
exception MultipleObjectsReturned
save(*args, **kwargs)

Custom save function to update related registry.models.security.ProxySetting instance. IF there is a related registry.models.security.ProxySetting instance, the ProxySetting.camouflage attribute is updated to the value True ELSE we create a new registry.models.security.ProxySetting instance with the initial camouflage=True attribute.

class registry.models.security.AnalyzedResponseLog(id, entity_count, entity_total_count)
exception DoesNotExist
exception MultipleObjectsReturned
class registry.models.security.CatalogueServiceAuthentication(id, username, password, auth_type, key_file, service)
exception DoesNotExist
exception MultipleObjectsReturned
class registry.models.security.WebFeatureServiceAnalyzedResponseLog(id, entity_count, entity_total_count, analyzedresponselog_ptr, response)
exception DoesNotExist
exception MultipleObjectsReturned
class registry.models.security.WebFeatureServiceAuthentication(id, username, password, auth_type, key_file, service)
exception DoesNotExist
exception MultipleObjectsReturned
class registry.models.security.WebFeatureServiceHttpRequestLog(id, timestamp, elapsed, method, url, body, headers, user, service)
exception DoesNotExist
exception MultipleObjectsReturned
class registry.models.security.WebFeatureServiceHttpResponseLog(id, status_code, reason, elapsed, headers, url, content, request)
exception DoesNotExist
exception MultipleObjectsReturned
class registry.models.security.WebFeatureServiceOperation(operation)
exception DoesNotExist
exception MultipleObjectsReturned
class registry.models.security.WebFeatureServiceProxySetting(id, camouflage, log_response, secured_service)
exception DoesNotExist
exception MultipleObjectsReturned
class registry.models.security.WebMapServiceAnalyzedResponseLog(id, entity_count, entity_total_count, analyzedresponselog_ptr, response)
exception DoesNotExist
exception MultipleObjectsReturned
class registry.models.security.WebMapServiceAuthentication(id, username, password, auth_type, key_file, service)
exception DoesNotExist
exception MultipleObjectsReturned
class registry.models.security.WebMapServiceHttpRequestLog(id, timestamp, elapsed, method, url, body, headers, user, service)
exception DoesNotExist
exception MultipleObjectsReturned
class registry.models.security.WebMapServiceHttpResponseLog(id, status_code, reason, elapsed, headers, url, content, request)
exception DoesNotExist
exception MultipleObjectsReturned
class registry.models.security.WebMapServiceOperation(operation)
exception DoesNotExist
exception MultipleObjectsReturned
class registry.models.security.WebMapServiceProxySetting(id, camouflage, log_response, secured_service)
exception DoesNotExist
exception MultipleObjectsReturned