Package org.nasutekds.server.types.operation

Examples of org.nasutekds.server.types.operation.PreParseCompareOperation


      }

      // For compare operation
      if (operation.getOperationType().equals(OperationType.COMPARE))
      {
        PreParseCompareOperation compareOp =
            (PreParseCompareOperation) operation;

        // Check the allowed/prohibited attributes
        if (!prohibitedAttributes.isEmpty())
        {
          allowRequest =
              !prohibitedAttributes.contains(compareOp
                  .getRawAttributeType());
        }

        if (!allowRequest)
        {
          statistics.updateRejectedAttributes();
          messages.add(INFO_ERROR_ATTRIBUTE_NOT_ALLOWED.get());
          return allowRequest;
        }

        if (!allowedAttributes.isEmpty())
        {
          allowRequest =
              allowedAttributes.contains(compareOp
                  .getRawAttributeType());
        }

        if (!allowRequest)
        {
View Full Code Here

TOP

Related Classes of org.nasutekds.server.types.operation.PreParseCompareOperation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.