org.opends.server.authorization.dseecompat
Class ExtOp

java.lang.Object
  extended by org.opends.server.authorization.dseecompat.ExtOp

public class ExtOp
extends java.lang.Object

This class represents an ACI's extop keyword rule.


Method Summary
static ExtOp decode(EnumTargetOperator operator, java.lang.String expr)
          Decode an extop expression string.
 boolean isApplicable(AciTargetMatchContext matchCtx)
          Check if a extop is applicable based on the provided target match context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

decode

public static ExtOp decode(EnumTargetOperator operator,
                           java.lang.String expr)
                    throws AciException
Decode an extop expression string.

Parameters:
operator - An enumeration representing the operator type.
expr - A string representing the extop expression.
Returns:
A class representing the extop expression that can be used to evaluate an ACI.
Throws:
AciException - If the specified expression string is invalid.

isApplicable

public boolean isApplicable(AciTargetMatchContext matchCtx)
Check if a extop is applicable based on the provided target match context.

Parameters:
matchCtx - The target match context to use in the check.
Returns:
True if the extop is applicable based on the context.