public interface AuthorizationEnforcementService extends com.google.common.util.concurrent.Service, AuthorizationEnforcer
AuthorizationEnforcer used to enforce authorization policies in programs. If caching is enabled using
Constants.Security.Authorization#CACHE_ENABLED, authorization policies are cached locally.
A thread refreshes the cached policies periodically.| Modifier and Type | Method and Description |
|---|---|
void |
invalidate(com.google.common.base.Predicate<Principal> predicate)
Invalidates cached privileges of all principals that satisfy the specified
Predicate. |
addListener, isRunning, start, startAndWait, state, stop, stopAndWaitcreateFilter, enforce, enforcevoid invalidate(com.google.common.base.Predicate<Principal> predicate)
Predicate.Copyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.