java.lang.Object
org.opends.server.authorization.dseecompat.BindRule

public final class BindRule extends Object
This class represents a single bind rule of an ACI permission-bind rule pair.
  • Method Details

    • decode

      public static BindRule decode(String input, ServerContext serverContext) throws AciException
      Decode an ACI bind rule string representation.
      Parameters:
      input - The string representation of the bind rule.
      serverContext - The server context
      Returns:
      A BindRule class representing the bind rule.
      Throws:
      AciException - If the string is an invalid bind rule.
    • evaluate

      public EnumEvalResult evaluate(AciEvalContext evalCtx)
      Evaluate a bind rule against an evaluation context. If it is a simple bind rule (no boolean type) then grab the keyword rule from the map table and call the corresponding evaluate() function. If it is a complex rule call the routine above evalComplex().
      Parameters:
      evalCtx - The evaluation context to pass to the keyword evaluation function.
      Returns:
      An result enumeration containing the result of the evaluation.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toString

      public void toString(StringBuilder buffer)
      Appends a string representation of this object to the provided buffer.
      Parameters:
      buffer - The buffer into which a string representation of this object should be appended.