Attribute declarations

Attributes need to be declared to associate a short name with the URI ID, the attribute type and the category. Notice that the type is identified using its short name.

Example:

attribute subjectId {
     id = "urn:oasis:names:tc:xacml:1.0:subject:subject-id"
     type = string
     category = subjectCat
}

When a new file is saved with the .alfa file extension, a supporting file called standard-attributes.alfa is copied to the currently open project folder (unless it already exists there).

The standard-attributes.alfa file contains declarations for standard XACML attributes. Users would typically define their required attributes in their own namespace.

Axiomatics
The Visual Studio Code extension for ALFA was developed by Axiomatics.
FOLLOW US