Modifier and Type | Method and Description |
---|---|
EntitledResultSetDTO |
EntitlementService.getAllEntitlements(String identifier,
AttributeDTO[] givenAttributes)
Gets all entitled attributes for given set of attributes
this an universal method to do policy search and find entitlement attributes
|
static org.wso2.balana.xacml3.Attributes |
EntitlementUtil.getAttributes(AttributeDTO attributeDataDTO) |
static void |
EntitlementUtil.setAttributesAsProperties(AttributeDTO[] attributeDTOs,
org.wso2.carbon.registry.core.Resource resource)
This helper method creates properties object which contains the policy meta data.
|
Modifier and Type | Method and Description |
---|---|
static org.wso2.balana.ctx.AbstractRequestCtx |
EntitlementUtil.createRequestContext(List<AttributeDTO> attributeDTOs)
This creates the XACML 3.0 Request context from AttributeDTO object model
|
Modifier and Type | Method and Description |
---|---|
AttributeDTO[] |
PolicyStoreDTO.getAttributeDTOs() |
AttributeDTO[] |
EntitledAttributesDTO.getAttributeDTOs() |
AttributeDTO[] |
PolicyDTO.getAttributeDTOs() |
Modifier and Type | Method and Description |
---|---|
void |
PolicyStoreDTO.setAttributeDTOs(AttributeDTO[] attributeDTOs) |
void |
EntitledAttributesDTO.setAttributeDTOs(AttributeDTO[] attributeDTOs) |
void |
PolicyDTO.setAttributeDTOs(AttributeDTO[] attributeDTOs) |
Modifier and Type | Method and Description |
---|---|
AttributeDTO[] |
PolicyAttributeBuilder.getPolicyMetaDataFromRegistryProperties(Properties properties)
This creates the attributes from registry property values
|
AttributeDTO |
PolicyAttributeBuilder.searchDesignatorOrSelector(org.apache.axiom.om.OMElement omElement,
AttributeDTO attributeDTO)
This searches through designator and selector values in the attribute elements to extract
the policy meta data
|
AttributeDTO |
PolicyAttributeBuilder.searchXACML3Designator(org.apache.axiom.om.OMElement omElement,
AttributeDTO attributeDTO)
This searches through designator and selector values in the attribute elements to extract
the policy meta data
|
Modifier and Type | Method and Description |
---|---|
List<AttributeDTO> |
PolicyAttributeBuilder.createMetaDataFromApplyElement(org.apache.axiom.om.OMElement omElement,
List<AttributeDTO> attributeDTOs)
This extract policy meta data from apply element in the policy
|
List<AttributeDTO> |
PolicyAttributeBuilder.createMetaDataFromConditionElement(org.apache.axiom.om.OMElement omElement,
List<AttributeDTO> attributeDTOs)
This extract policy meta data from condition element in the policy
|
List<AttributeDTO> |
PolicyAttributeBuilder.createMetaDataFromMatchElement(org.apache.axiom.om.OMElement omElement,
String subElementName)
This extract policy meta data from match element in the policy
|
List<AttributeDTO> |
PolicyAttributeBuilder.createMetaDataFromRuleElement(org.apache.axiom.om.OMElement omElement,
List<AttributeDTO> attributeDTOs)
This extract policy meta data from each rule element in the policy
|
List<AttributeDTO> |
PolicyAttributeBuilder.createMetaDataFromTargetElement(org.apache.axiom.om.OMElement omElement,
List<AttributeDTO> attributeDTOs)
This extract policy meta data from target element in the policy
|
List<AttributeDTO> |
PolicyAttributeBuilder.createMetaDataFromXACML3ApplyElement(org.apache.axiom.om.OMElement omElement,
List<AttributeDTO> attributeDTOs)
This extract policy meta data from apply element in the policy
|
List<AttributeDTO> |
PolicyAttributeBuilder.createMetaDataFromXACML3MatchElement(org.apache.axiom.om.OMElement omElement)
This extract policy meta data from match element in the policy
|
List<AttributeDTO> |
PolicyAttributeBuilder.createMetaDataFromXACML3TargetElement(org.apache.axiom.om.OMElement omElement,
List<AttributeDTO> attributeDTOs)
This extract policy meta data from target element in the policy
|
List<AttributeDTO> |
PolicyAttributeBuilder.createPolicyMetaData(String policy,
List<AttributeDTO> attributeDTOs)
This creates the OMElement from the policy xml and create the the meta data for hole policy
|
Modifier and Type | Method and Description |
---|---|
AttributeDTO |
PolicyAttributeBuilder.searchDesignatorOrSelector(org.apache.axiom.om.OMElement omElement,
AttributeDTO attributeDTO)
This searches through designator and selector values in the attribute elements to extract
the policy meta data
|
AttributeDTO |
PolicyAttributeBuilder.searchXACML3Designator(org.apache.axiom.om.OMElement omElement,
AttributeDTO attributeDTO)
This searches through designator and selector values in the attribute elements to extract
the policy meta data
|
Modifier and Type | Method and Description |
---|---|
List<AttributeDTO> |
PolicyAttributeBuilder.createMetaDataFromApplyElement(org.apache.axiom.om.OMElement omElement,
List<AttributeDTO> attributeDTOs)
This extract policy meta data from apply element in the policy
|
List<AttributeDTO> |
PolicyAttributeBuilder.createMetaDataFromConditionElement(org.apache.axiom.om.OMElement omElement,
List<AttributeDTO> attributeDTOs)
This extract policy meta data from condition element in the policy
|
List<AttributeDTO> |
PolicyAttributeBuilder.createMetaDataFromRuleElement(org.apache.axiom.om.OMElement omElement,
List<AttributeDTO> attributeDTOs)
This extract policy meta data from each rule element in the policy
|
List<AttributeDTO> |
PolicyAttributeBuilder.createMetaDataFromTargetElement(org.apache.axiom.om.OMElement omElement,
List<AttributeDTO> attributeDTOs)
This extract policy meta data from target element in the policy
|
List<AttributeDTO> |
PolicyAttributeBuilder.createMetaDataFromXACML3ApplyElement(org.apache.axiom.om.OMElement omElement,
List<AttributeDTO> attributeDTOs)
This extract policy meta data from apply element in the policy
|
List<AttributeDTO> |
PolicyAttributeBuilder.createMetaDataFromXACML3TargetElement(org.apache.axiom.om.OMElement omElement,
List<AttributeDTO> attributeDTOs)
This extract policy meta data from target element in the policy
|
List<AttributeDTO> |
PolicyAttributeBuilder.createPolicyMetaData(String policy,
List<AttributeDTO> attributeDTOs)
This creates the OMElement from the policy xml and create the the meta data for hole policy
|
Modifier and Type | Method and Description |
---|---|
Map<String,Set<AttributeDTO>> |
PolicyFinderModule.getSearchAttributes(String identifier,
Set<AttributeDTO> givenAttribute)
gets attributes that are used for policy searching
|
Map<String,Set<AttributeDTO>> |
AbstractPolicyFinderModule.getSearchAttributes(String identifier,
Set<AttributeDTO> givenAttribute) |
Modifier and Type | Method and Description |
---|---|
Map<String,Set<AttributeDTO>> |
PolicyFinderModule.getSearchAttributes(String identifier,
Set<AttributeDTO> givenAttribute)
gets attributes that are used for policy searching
|
Map<String,Set<AttributeDTO>> |
AbstractPolicyFinderModule.getSearchAttributes(String identifier,
Set<AttributeDTO> givenAttribute) |
Modifier and Type | Method and Description |
---|---|
EntitledResultSetDTO |
PolicySearch.getEntitledAttributes(String identifier,
AttributeDTO[] givenAttributes)
gets all entitled attributes for given set of attributes
this an universal method to do policy search and find entitlement attributes
|
Modifier and Type | Method and Description |
---|---|
Map<String,Set<AttributeDTO>> |
RegistryPolicyStoreManageModule.getSearchAttributes(String identifier,
Set<AttributeDTO> givenAttribute) |
Modifier and Type | Method and Description |
---|---|
Map<String,Set<AttributeDTO>> |
RegistryPolicyStoreManageModule.getSearchAttributes(String identifier,
Set<AttributeDTO> givenAttribute) |
Modifier and Type | Method and Description |
---|---|
EntitledResultSetDTO |
ThriftEntitlementServiceImpl.getAllEntitlements(String identifier,
AttributeDTO[] givenAttributes,
String sessionID) |
Copyright © 2016 WSO2. All rights reserved.