Class PolicyHelper
- java.lang.Object
-
- org.palladiosimulator.pcm.confidentiality.context.helper.PolicyHelper
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
createRequestAttributes(Deque<? extends org.palladiosimulator.pcm.core.entity.Entity> requestedEntity, List<? extends UsageSpecification> requestorContext, List<UsageSpecification> listSubject, List<UsageSpecification> listEnvironment, List<UsageSpecification> listResource, List<UsageSpecification> listXML)
Converts the context of a requestor and the requested entity to abac statements based on attributes list for subjec, resource, environmentstatic void
createRequestAttributes(org.palladiosimulator.pcm.repository.Signature signature, Deque<? extends org.palladiosimulator.pcm.core.entity.Entity> component, List<? extends UsageSpecification> requestorContext, List<UsageSpecification> listSubject, List<UsageSpecification> listEnvironment, List<UsageSpecification> listResource, List<UsageSpecification> listAction, List<UsageSpecification> listXML)
-
-
-
Method Detail
-
createRequestAttributes
public static void createRequestAttributes(Deque<? extends org.palladiosimulator.pcm.core.entity.Entity> requestedEntity, List<? extends UsageSpecification> requestorContext, List<UsageSpecification> listSubject, List<UsageSpecification> listEnvironment, List<UsageSpecification> listResource, List<UsageSpecification> listXML)
Converts the context of a requestor and the requested entity to abac statements based on attributes list for subjec, resource, environment- Parameters:
requestedEntity
- requested entityrequestorContext
- context of the requestorlistSubject
- empty list for subject attributeslistEnvironment
- empty list for environment attributeslistResource
- empty list for resource attributeslistXML
- empty list forXMLAttribute
attributes
-
createRequestAttributes
public static void createRequestAttributes(org.palladiosimulator.pcm.repository.Signature signature, Deque<? extends org.palladiosimulator.pcm.core.entity.Entity> component, List<? extends UsageSpecification> requestorContext, List<UsageSpecification> listSubject, List<UsageSpecification> listEnvironment, List<UsageSpecification> listResource, List<UsageSpecification> listAction, List<UsageSpecification> listXML)
-
-