Class VisibilityEvaluator
- java.lang.Object
-
- uk.gov.gchq.gaffer.commonutil.elementvisibilityutil.VisibilityEvaluator
-
public class VisibilityEvaluator extends Object
This class is copied from org.apache.accumulo.core.security.VisibilityEvaluator.
-
-
Constructor Summary
Constructors Constructor Description VisibilityEvaluator(Authorisations auths)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static byte[]
escape(byte[] auth, boolean quote)
boolean
evaluate(ElementVisibility visibility)
-
-
-
Constructor Detail
-
VisibilityEvaluator
public VisibilityEvaluator(Authorisations auths)
-
-
Method Detail
-
evaluate
public boolean evaluate(ElementVisibility visibility) throws VisibilityParseException
- Throws:
VisibilityParseException
-
escape
public static byte[] escape(byte[] auth, boolean quote)
-
-