Crate accumulo_access

Source

Re-exports§

pub use crate::authorization_expression::AuthorizationExpression;

Modules§

authorization_expression
caching

Structs§

AccessEvaluator
Authorizations
Lexer
Lexer is a lexical analyzer (tokenizer) for authorization expressions.
Parser
Parser is used to parse an expression and return an AuthorizationExpression-based tree.

Enums§

JsonError
ParserError
ParserError is returned when the parser encounters an error.

Functions§

check_authorization
Checks if the given set of access tokens authorizes access to the resource which protection is described by the given expression.
check_authorization_csv
Checks if the given set of access tokens authorizes access to the resource which protection is described by the given expression.
expression_to_json
expression_to_json_string
prepare_authorization_csv