Database XACML Attribute Locator example: The XACML request is missing a Subject attribute
Case 2: When the request is missing a Subject attribute.  Let us take a look at the request. Like before, the attribute that will be missing from the request (and will be supplied by the DB attribute locator) is commented out for the viewer's benefit.  The attribute missing from the request is "urn:oasis:names:tc:xacml:1.0:subject:subject-id".                          John Smith            1000            1            false            false              CustomerAccount            123456            John Smith               Active               15000            10000            10000              Buy       The JBossXACML config file will look as follows:          locators/attrib/attribLocator_policy.xml                   data_stores/db.properties      SELECT subject_id FROM subject where name=?;      urn:oasis:names:tc:xacml:1.0:subject:subject-id      urn:xacml:2.0:interop:example:subject:user-name      http://www.w3.org/2001/XMLSchema#string       subject_id    Â