@Role
public interface SecurityCache
Modifier and Type | Method and Description |
---|---|
SecurityRuleEntry |
get(SecurityReference entity)
Get a cached entry.
|
SecurityAccessEntry |
get(UserSecurityReference user,
SecurityReference entity)
Get a cached entry.
|
void |
remove(SecurityReference entity)
Remove an entry from this cache.
|
void |
remove(UserSecurityReference user,
SecurityReference entity)
Remove an entry from this cache.
|
SecurityAccessEntry get(UserSecurityReference user, SecurityReference entity)
user
- Entity representing the user.entity
- The entity which is the object of this cache entry.null
.SecurityRuleEntry get(SecurityReference entity)
entity
- The entity which is the object of this cache entry.null
.void remove(UserSecurityReference user, SecurityReference entity)
user
- Entity representing the user.entity
- The entity which is the object of this cache entry.void remove(SecurityReference entity)
entity
- The entity which is the object of this cache entry.Copyright © 2004–2021 XWiki. All rights reserved.