Class | Nanite::SecurityProvider |
In: |
lib/nanite/security_provider.rb
|
Parent: | Object |
This class is used to interface the nanite mapper with an external security module. There are two points of integration:
1. When an agent registers with a mapper 2. When an agent sends a request to another agent
In both these cases the security module is called back and can deny the operation. Note: it‘s the responsability of the module to do any logging or notification that is required.
Register an external security module This module should expose the ‘authorize_registration’ and ‘authorize_request’ methods.