public class AclGuard extends java.lang.Object implements RenderGuard
| Constructor and Description |
|---|
AclGuard(java.util.Map ctx)
Constructor
|
AclGuard(java.util.Map ctx,
java.lang.String mixinsIn)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRender(NavNode node,
int depth)
Returns true if the acl of the NavNode evaluates to true.
|
public AclGuard(java.util.Map ctx,
java.lang.String mixinsIn)
ctx - Acl ContextmixinsIn - The string of classnames used to add extra Acl Handlerspublic AclGuard(java.util.Map ctx)
ctx - Acl Contextpublic boolean canRender(NavNode node, int depth)
canRender in interface RenderGuardnode - NavNode whose Acl is checked.depth - ignored.