ACAP Validator

Comments

How to Install the ACAP Validator

  1. Download and install Ruby programming language. ACAP Validator is implemented in Ruby, which is available on a wide variety of platforms, and is one of the leading scripting languages available today.
  2. Download the library. AcapValidator is currently available as a library invoked by a command-line script.
  3. Unzip the file into a directory of your choice. You’ll find it contains the following four files:
  4. AcapValidator.bat
    validate_acap.rb
    AcapValidator-0.0.5.gem
    new.txt
  5. Execute the following Ruby command:
    gem install AcapValidator-0.0.5.gem
  6. Now you can test the installation by executing the command:
    AcapValidator new.txt.

New.txt is the ACAP file we’ve been using in this document.

Now you’re ready to validate your own ACAP access control file.

The source code for this parser can be downloaded here, licensed under the terms of the Apache 2.0 license.