Class | Description |
---|---|
DatabaseActionAttributeLocator |
Locates an attribute about an Action from the DB
An example of the Locator configuration is here:
<ns:Locator Name="org.jboss.security.xacml.locators.attrib.DatabaseActionAttributeLocator">
<ns:Option Name="DATABASE_FILE_NAME">data_stores/db.properties</ns:Option> <ns:Option Name="sql">SELECT account_status FROM resource where owner_id=?;</ns:Option> <ns:Option Name="attributeSupportedId">urn:xacml:2.0:interop:example:resource:account-status</ns:Option> <ns:Option Name="preparedStatementValue">urn:xacml:2.0:interop:example:resource:owner-id</ns:Option> <ns:Option Name="valueDataType">http://www.w3.org/2001/XMLSchema#string</ns:Option> <ns:Option Name="columnName">account_status</ns:Option> </ns:Locator> |
DatabaseAttributeLocator |
An attribute locator that gets the attributes from the DB
|
DatabaseEnvAttributeLocator |
Locates an attribute about Environment from the DB
An example of the Locator configuration is here:
<ns:Locator Name="org.jboss.security.xacml.locators.attrib.DatabaseEnvAttributeLocator">
<ns:Option Name="DATABASE_FILE_NAME">data_stores/db.properties</ns:Option> <ns:Option Name="sql">SELECT account_status FROM resource where owner_id=?;</ns:Option> <ns:Option Name="attributeSupportedId">urn:xacml:2.0:interop:example:resource:account-status</ns:Option> <ns:Option Name="preparedStatementValue">urn:xacml:2.0:interop:example:resource:owner-id</ns:Option> <ns:Option Name="valueDataType">http://www.w3.org/2001/XMLSchema#string</ns:Option> <ns:Option Name="columnName">account_status</ns:Option> </ns:Locator> |
DatabaseResourceAttributeLocator |
Locates an attribute about the resource from the DB
An example of the Locator configuration is here:
<ns:Locator Name="org.jboss.security.xacml.locators.attrib.DatabaseResourceAttributeLocator">
<ns:Option Name="DATABASE_FILE_NAME">data_stores/db.properties</ns:Option> <ns:Option Name="sql">SELECT account_status FROM resource where owner_id=?;</ns:Option> <ns:Option Name="attributeSupportedId">urn:xacml:2.0:interop:example:resource:account-status</ns:Option> <ns:Option Name="preparedStatementValue">urn:xacml:2.0:interop:example:resource:owner-id</ns:Option> <ns:Option Name="valueDataType">http://www.w3.org/2001/XMLSchema#string</ns:Option> <ns:Option Name="columnName">account_status</ns:Option> </ns:Locator> |
DatabaseSubjectAttributeLocator |
Locates an attribute about the subject from the DB
An example of the Locator configuration is here:
<ns:Locator Name="org.jboss.security.xacml.locators.attrib.DatabaseSubjectAttributeLocator">
<ns:Option Name="DATABASE_FILE_NAME">data_stores/db.properties</ns:Option> <ns:Option Name="sql">SELECT account_status FROM resource where owner_id=?;</ns:Option> <ns:Option Name="attributeSupportedId">urn:xacml:2.0:interop:example:resource:account-status</ns:Option> <ns:Option Name="preparedStatementValue">urn:xacml:2.0:interop:example:resource:owner-id</ns:Option> <ns:Option Name="valueDataType">http://www.w3.org/2001/XMLSchema#string</ns:Option> <ns:Option Name="columnName">account_status</ns:Option> </ns:Locator> |
FileSystemAttributeLocator |
File System based attribute locator.
|
LDAPActionAttributeLocator |
LDAP Attribute Locator to obtain the action attribute
|
LDAPAttributeLocator |
An attribute locator getting attribute values from an LDAP
Configuration:
url - The LDAP server URL to connect to.
factory - The JNDI factory that is JDK specific such as "com.sun.jndi.ldap.LdapCtxFactory" which is the default. username - The username to connect to the LDAP server. |
LDAPEnvAttributeLocator |
LDAP Attribute Locator that will get an environment attribute
|
LDAPResourceAttributeLocator |
Locates an attribute about the resource from the LDAP
|
LDAPSubjectAttributeLocator |
Locates an attribute about the subject from the LDAP
|
StorageAttributeLocator |
Common base class for attribute locators using external storage
All subclasses have to override and implement the
AttributeFinderModule.findAttribute(URI, URI, URI, URI, EvaluationCtx, int) method |
Copyright © 2023 JBoss by Red Hat. All rights reserved.