Package org.xwiki.security.authorization
Interface SecurityEntryReaderExtra
-
@Role public interface SecurityEntryReaderExtra
A component called by theSecurityEntryReader
to gather rules for a passed entity.- Since:
- 10.5RC1
- Version:
- $Id: 4ae7b7b68fe85da5a2880a274617c49e11840016 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<SecurityRule>
read(SecurityReference entityReference)
Read a collection of rules attached to a given entity.
-
-
-
Method Detail
-
read
Collection<SecurityRule> read(SecurityReference entityReference) throws AuthorizationException
Read a collection of rules attached to a given entity.- Parameters:
entityReference
- reference to the entity.- Returns:
- the access rules read from the given reference.
- Throws:
AuthorizationException
- on error.
-
-