Package | Description |
---|---|
org.xwiki.security | |
org.xwiki.security.authorization | |
org.xwiki.security.authorization.cache |
Modifier and Type | Class and Description |
---|---|
class |
GroupSecurityReference
GroupSecurityReference is a
SecurityReference that is used to represent a security group,
which is a set of users, such that rights can be assigned to the whole group at once. |
Modifier and Type | Method and Description |
---|---|
UserSecurityReference |
DefaultSecurityReferenceFactory.newUserReference(DocumentReference reference) |
UserSecurityReference |
SecurityReferenceFactory.newUserReference(DocumentReference reference)
Returns a
UserSecurityReference for the provided user document reference. |
Modifier and Type | Method and Description |
---|---|
UserSecurityReference |
SecurityAccessEntry.getUserReference() |
Modifier and Type | Method and Description |
---|---|
boolean |
SecurityRule.match(UserSecurityReference user)
Check if this rule match the given user.
|
SecurityAccessEntry |
AuthorizationSettler.settle(UserSecurityReference user,
Collection<GroupSecurityReference> groups,
Deque<SecurityRuleEntry> securityRuleEntries)
Compute the current access for the user that is a member
of the given groups and on an entity which is protected by the
given hierarchy of rights objects.
|
Modifier and Type | Method and Description |
---|---|
SecurityAccessEntry |
SecurityCache.get(UserSecurityReference user,
SecurityReference entity)
Get a cached entry.
|
SecurityAccessEntry |
SecurityCacheLoader.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.
|
void |
SecurityCache.remove(UserSecurityReference user,
SecurityReference entity)
Remove an entry from this cache.
|
Copyright © 2004–2021 XWiki. All rights reserved.