Class SystemUser

java.lang.Object
gov.nist.secauto.oscal.lib.model.SystemUser
All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject

@MetaschemaAssembly(formalName="System User", description="A type of user that interacts with the system based on an associated role.", name="system-user", moduleClass=OscalImplementationCommonModule.class, remarks="Permissible values to be determined closer to the application, such as by a receiving authority.", valueConstraints=@AllowedValues(level=ERROR,target="prop[has-oscal-namespace(\'http://csrc.nist.gov/ns/oscal\')]/@name",values={@AllowedValue(value="type",description="The type of user, such as internal, external, or general-public."),@AllowedValue(value="privilege-level",description="The user\'s privilege level within the system, such as privileged, non-privileged, no-logical-access.")}) @AllowedValues(level=ERROR,target="prop[has-oscal-namespace(\'http://csrc.nist.gov/ns/oscal\') and @name=\'type\']/@value",values={@AllowedValue(value="internal",description="A user account for a person or entity that is part of the organization who owns or operates the system."),@AllowedValue(value="external",description="A user account for a person or entity that is not part of the organization who owns or operates the system."),@AllowedValue(value="general-public",description="A user of the system considered to be outside")}) @AllowedValues(level=ERROR,target="prop[has-oscal-namespace(\'http://csrc.nist.gov/ns/oscal\') and @name=\'privilege-level\']/@value",values={@AllowedValue(value="privileged",description="This role has elevated access to the system, such as a group or system administrator."),@AllowedValue(value="non-privileged",description="This role has typical user-level access to the system without elevated access."),@AllowedValue(value="no-logical-access",description="This role has no access to the system, such as a manager who approves access as part of a process.")}) @AllowedValues(level=ERROR,target="role-id",allowOthers=true,values={@AllowedValue(value="asset-owner",description="Accountable for ensuring the asset is managed in accordance with organizational policies and procedures."),@AllowedValue(value="asset-administrator",description="Responsible for administering a set of assets."),@AllowedValue(value="security-operations",description="Members of the security operations center (SOC)."),@AllowedValue(value="network-operations",description="Members of the network operations center (NOC)."),@AllowedValue(value="incident-response",description="Responsible for responding to an event that could lead to loss of, or disruption to, an organization\'s operations, services or functions."),@AllowedValue(value="help-desk",description="Responsible for providing information and support to users."),@AllowedValue(value="configuration-management",description="Responsible for the configuration management processes governing changes to the asset.")})) public class SystemUser extends Object implements gov.nist.secauto.metaschema.core.model.IBoundObject
A type of user that interacts with the system based on an associated role.
  • Constructor Details

    • SystemUser

      public SystemUser()
    • SystemUser

      public SystemUser(gov.nist.secauto.metaschema.core.model.IMetaschemaData data)
  • Method Details

    • getMetaschemaData

      public gov.nist.secauto.metaschema.core.model.IMetaschemaData getMetaschemaData()
      Specified by:
      getMetaschemaData in interface gov.nist.secauto.metaschema.core.model.IBoundObject
    • getUuid

      public UUID getUuid()
    • setUuid

      public void setUuid(UUID value)
    • getTitle

      public gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine getTitle()
    • setTitle

      public void setTitle(gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine value)
    • getShortName

      public String getShortName()
    • setShortName

      public void setShortName(String value)
    • getDescription

      public gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline getDescription()
    • setDescription

      public void setDescription(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value)
    • getProps

      public List<Property> getProps()
    • setProps

      public void setProps(List<Property> value)
    • addProp

      public boolean addProp(Property item)
      Add a new Property item to the underlying collection.
      Parameters:
      item - the item to add
      Returns:
      true
    • removeProp

      public boolean removeProp(Property item)
      Remove the first matching Property item from the underlying collection.
      Parameters:
      item - the item to remove
      Returns:
      true if the item was removed or false otherwise
    • getLinks

      public List<Link> getLinks()
    • setLinks

      public void setLinks(List<Link> value)
    • addLink

      public boolean addLink(Link item)
      Add a new Link item to the underlying collection.
      Parameters:
      item - the item to add
      Returns:
      true
    • removeLink

      public boolean removeLink(Link item)
      Remove the first matching Link item from the underlying collection.
      Parameters:
      item - the item to remove
      Returns:
      true if the item was removed or false otherwise
    • getRoleIds

      public List<String> getRoleIds()
    • setRoleIds

      public void setRoleIds(List<String> value)
    • addRoleId

      public boolean addRoleId(String item)
      Add a new String item to the underlying collection.
      Parameters:
      item - the item to add
      Returns:
      true
    • removeRoleId

      public boolean removeRoleId(String item)
      Remove the first matching String item from the underlying collection.
      Parameters:
      item - the item to remove
      Returns:
      true if the item was removed or false otherwise
    • getAuthorizedPrivileges

    • setAuthorizedPrivileges

    • addAuthorizedPrivilege

      Add a new AuthorizedPrivilege item to the underlying collection.
      Parameters:
      item - the item to add
      Returns:
      true
    • removeAuthorizedPrivilege

      Remove the first matching AuthorizedPrivilege item from the underlying collection.
      Parameters:
      item - the item to remove
      Returns:
      true if the item was removed or false otherwise
    • getRemarks

      public gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline getRemarks()
    • setRemarks

      public void setRemarks(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value)
    • toString

      public String toString()
      Overrides:
      toString in class Object