Visual Studio Code extension for ALFA
The Visual Studio Code extension for ALFA provides language support for the Abbreviated Language for Authorization (ALFA), which is a domain-specific language for a high-level description of XACML policies. Among its features, it presents domain specific information such as attribute identifiers in compact form and it can be compiled into XACML 3.0.
Read the full documentation here
ALFA simplifies the authoring process for authorization policies, helping developers tackle authorization quicker than ever before. The language uses a syntax that closely resembles common programming languages such as Java and C#, making it much easier to read and work with than the verbose XML of the standard XACML policy model. By integrating the extension for ALFA into the VS Code environment, policy authoring becomes easier and faster as the XML syntax and encoding are abstracted away.
The Visual Studio Code extension for ALFA includes support for a number of development features, such as code completion, syntax highlighting, refactoring, and go to definition navigation. The included compiler automatically and incrementally generates the XACML equivalent, which can then be exported to compliant policy decision points.
ALFA was originally developed by Axiomatics AB as the "Axiomatics Language for Authorization" before the language definition was donated to OASIS to become an open standard under the name "Abbreviated Language for Authorization". The Visual Studio Code extension for ALFA contains Axiomatics' implementation of the open standard Abbreviated Language for Authorization v. 1.0.
Java 11 must be installed.
Make sure the [JAVA_HOME] environment variable is set before installing the Visual Studio Code extension for ALFA.
ALFA plugin uses the following open source libraries. Please see the following links for source code and licences.