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: 61a302a528f46820efcdc9f837fbe4cae1c3ca6d $
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.
Copyright © 2004–2015 XWiki. All rights reserved.