Package com.privatechain.access
package com.privatechain.access
Private-network access control — allowlist enforcement, role-based permissions,
and invitation-token issuance for the private-blockchain library.
Three sub-packages make up the access layer:
com.privatechain.access.allowlist— enforces the set of permitted node identifiers before any inbound message is processed (FR-AC-01).com.privatechain.access.rbac— assigns and evaluates roles (NODE_ADMIN,NODE_MINER,NODE_OBSERVER) for each node address (FR-AC-02).com.privatechain.access.invite— issues and verifies ECDSA-signed, time-limited invitation tokens so new nodes can join a private chain (FR-AC-04, FR-AC-05).
The access layer sits between the TCP transport and the message handler:
Inbound TCP message
│
▼
AllowlistManager ──[DENY]──► drop + log
│ [ALLOW]
▼
PermissionManager ──[INSUFFICIENT ROLE]──► return error
│ [AUTHORIZED]
▼
Message handler
- Since:
- 1.0.0