Package org.xwiki.security.authorization
Interface SecurityEntryReader
-
@Role public interface SecurityEntryReader
A security rules reader reads rules attached to a given entity.This interface decouple the rules storage from the security cache loader.
- Since:
- 4.0M2
- Version:
- $Id: 27412a12e1a7bd3bb68d3de5b943879a427cb25e $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SecurityRuleEntry
read(SecurityReference entityReference)
Read a collection of rules attached to a given entity.
-
-
-
Method Detail
-
read
SecurityRuleEntry 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.
-
-