@Role
public interface SecurityCacheLoader
SecurityEntryReader
for reading rules missing from the cache, and on a
AuthorizationSettler
for resolving
access from rules.Modifier and Type | Method and Description |
---|---|
SecurityAccessEntry |
load(UserSecurityReference user,
SecurityReference entity)
Load the cache with the required entries to look up the access
for a given user on a given entity.
|
SecurityAccessEntry load(UserSecurityReference user, SecurityReference entity) throws AuthorizationException
user
- The user to check access for.entity
- The entity to check access to.AuthorizationException
- if an error occurs.Copyright © 2004–2021 XWiki. All rights reserved.