public class AcceptsGroupOnly extends AbstractContentFilter implements IContentFilter
UserManager
is available.Constructor and Description |
---|
AcceptsGroupOnly() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsUserOrGroup(String userOrGroup)
Return true if the input string is the name of a group known by the
UserManager service. |
boolean |
isGroup(String user) |
isEveryone
public boolean acceptsUserOrGroup(String userOrGroup)
UserManager
service. Return also true
if input is equal to SecurityConstants.EVERYONE
, since this is a special user name intended to define
inheritance blocker rules.acceptsUserOrGroup
in interface IContentFilter
public boolean isGroup(String user) throws ClientException
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.