request.authorization.cmp¶
Provides the ‘CmpAuthorization’ class using the Composite pattern for modular CMP authorization.
Module Contents¶
- class request.authorization.cmp.CmpRevocationAuthorization[source]¶
Bases:
request.authorization.base.AuthorizationComponent,trustpoint.logger.LoggerMixinEnsures the request is authorized for revocation operation.
- class request.authorization.cmp.CmpOperationAuthorization(allowed_operations)[source]¶
Bases:
request.authorization.base.AuthorizationComponent,trustpoint.logger.LoggerMixinEnsures the request is authorized for the specified operation.
- Parameters:
allowed_operations (list[str])
- class request.authorization.cmp.CmpAuthorization(allowed_operations=None)[source]¶
Bases:
request.authorization.base.CompositeAuthorizationComposite authorization handler for EST requests.
- Parameters:
allowed_operations (list[str] | None)