def __init__(self, session_id): """ :raise CairisHTTPError: """ CairisDAO.__init__(self, session_id) self.prop_dict = { 0:'None', 1:'Low', 2:'Medium', 3:'High' } self.attr_dict = { 'Confidentiality': cairis.core.armid.C_PROPERTY, 'Integrity': cairis.core.armid.I_PROPERTY, 'Availability': cairis.core.armid.AV_PROPERTY, 'Accountability': cairis.core.armid.AC_PROPERTY, 'Anonymity': cairis.core.armid.AN_PROPERTY, 'Pseudonymity': cairis.core.armid.PAN_PROPERTY, 'Unlinkability': cairis.core.armid.UNL_PROPERTY, 'Unobservability': cairis.core.armid.UNO_PROPERTY } self.rev_attr_dict = dict() self.rev_prop_dict = dict() for key, value in self.attr_dict.items(): self.rev_attr_dict[value] = key for key, value in self.prop_dict.items(): self.rev_prop_dict[value] = key
def __init__(self, session_id): CairisDAO.__init__(self, session_id) self.attr_dict = { 'Confidentiality': cairis.core.armid.C_PROPERTY, 'Integrity': cairis.core.armid.I_PROPERTY, 'Availability': cairis.core.armid.AV_PROPERTY, 'Accountability': cairis.core.armid.AC_PROPERTY, 'Anonymity': cairis.core.armid.AN_PROPERTY, 'Pseudonymity': cairis.core.armid.PAN_PROPERTY, 'Unlinkability': cairis.core.armid.UNL_PROPERTY, 'Unobservability': cairis.core.armid.UNO_PROPERTY } self.rev_attr_dict = {} for key, value in self.attr_dict.items(): self.rev_attr_dict[value] = key
def __init__(self, session_id): CairisDAO.__init__(self, session_id) self.attr_dict = { 'Confidentiality': cairis.core.armid.C_PROPERTY, 'Integrity': cairis.core.armid.I_PROPERTY, 'Availability': cairis.core.armid.AV_PROPERTY, 'Accountability': cairis.core.armid.AC_PROPERTY, 'Anonymity': cairis.core.armid.AN_PROPERTY, 'Pseudonymity': cairis.core.armid.PAN_PROPERTY, 'Unlinkability': cairis.core.armid.UNL_PROPERTY, 'Unobservability': cairis.core.armid.UNO_PROPERTY } self.rev_attr_dict = {} for key, value in list(self.attr_dict.items()): self.rev_attr_dict[value] = key
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'template_asset') self.attr_dict = { 'Confidentiality': cairis.core.armid.C_PROPERTY, 'Integrity': cairis.core.armid.I_PROPERTY, 'Availability': cairis.core.armid.AV_PROPERTY, 'Accountability': cairis.core.armid.AC_PROPERTY, 'Anonymity': cairis.core.armid.AN_PROPERTY, 'Pseudonymity': cairis.core.armid.PAN_PROPERTY, 'Unlinkability': cairis.core.armid.UNL_PROPERTY, 'Unobservability': cairis.core.armid.UNO_PROPERTY } self.rev_attr_dict = {} for key, value in list(self.attr_dict.items()): self.rev_attr_dict[value] = key self.rev_value_dict = {0: 'None', 1: 'Low', 2: 'Medium', 3: 'High'}
def __init__(self, session_id): """ :raise CairisHTTPError: """ CairisDAO.__init__(self, session_id) self.prop_dict = {0: "None", 1: "Low", 2: "Medium", 3: "High"} self.attr_dict = { "Confidentiality": cairis.core.armid.C_PROPERTY, "Integrity": cairis.core.armid.I_PROPERTY, "Availability": cairis.core.armid.AV_PROPERTY, "Accountability": cairis.core.armid.AC_PROPERTY, "Anonymity": cairis.core.armid.AN_PROPERTY, "Pseudonymity": cairis.core.armid.PAN_PROPERTY, "Unlinkability": cairis.core.armid.UNL_PROPERTY, "Unobservability": cairis.core.armid.UNO_PROPERTY, } self.rev_attr_dict = dict() self.rev_prop_dict = dict() for key, value in self.attr_dict.items(): self.rev_attr_dict[value] = key for key, value in self.prop_dict.items(): self.rev_prop_dict[value] = key
def __init__(self, session_id): CairisDAO.__init__(self, session_id)
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'locations')
def __init__(self, session_id): CairisDAO.__init__(self, session_id) b = Borg() self.image_dir = b.uploadDir
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'response')
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'project')
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'persona_characteristic')
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'vulnerability')
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'environment')
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'task_characteristic')
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'obstacle')
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'policy_statement')
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'trust_boundary')
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'value_type')
def __init__(self, session_id): CairisDAO.__init__(self, session_id) b = Borg() self.image_dir = os.path.join(b.uploadDir, 'images')
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'requirement')
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'persona')
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'attacker')
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'concept_reference')
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'export')
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'template_goal')
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'usecase')
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'securitypattern')
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'userstory')
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'document_reference')
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'domainproperty')
def __init__(self, session_id): """ :raise CairisHTTPError: """ CairisDAO.__init__(self, session_id)
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'external_document')
def __init__(self, session_id): CairisDAO.__init__(self, session_id, 'component_view')