Interface FieldAccessResolverInterface
public interface FieldAccessResolverInterface
Session-aware policy, reveal grants and value-free access notifications.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidcheckExactMatch(FieldAccessEvent event) Refuse an exact-match search before execution; the exception message is user-facing.default StringOne-way fingerprint of a search literal.default StringStable identity of effective access, excluding reveal grants.default booleanisRevealActive(String tableName, String fieldName, Serializable primaryKey) Whether this record and field have an active reveal grant.default voidonAccess(FieldAccessEvent event) Receive an audit notification; failures never prevent enforcement.resolve(QTableMetaData table, QFieldMetaData field) Resolve using the current QContext session.
-
Method Details
-
resolve
Resolve using the current QContext session. -
isRevealActive
Whether this record and field have an active reveal grant. -
getAccessFingerprint
Stable identity of effective access, excluding reveal grants. -
onAccess
Receive an audit notification; failures never prevent enforcement. -
checkExactMatch
Refuse an exact-match search before execution; the exception message is user-facing.- Throws:
QPermissionDeniedException
-
fingerprintSearchValue
One-way fingerprint of a search literal. Raw values never enter access events.
-