Class FortEntity

    • Field Detail

      • modCode

        protected String modCode
      • modId

        protected String modId
      • adminSession

        protected Session adminSession
      • sequenceId

        protected long sequenceId
      • contextId

        protected String contextId
    • Constructor Detail

      • FortEntity

        public FortEntity()
        Default constructor will call the setter to load a new internal ID into entity.
      • FortEntity

        public FortEntity​(Session adminSession)
        Use this constructor to load administrative RBAC session into this entity.
        Parameters:
        adminSession - contains ARBAC Session object.
    • Method Detail

      • getAdminSession

        public Session getAdminSession()
        Return the ARBAC Session object that was loaded into this entity.
        Returns:
        ARBAC Session object.
      • setAdminSession

        public void setAdminSession​(Session adminSession)
        Load an ARBAC Session object into this entity. Once loaded, all Fortress Manager's will perform administrative permission checks against the User who is contained within the Session.
        Parameters:
        adminSession - The ARBAC admin session
      • getModCode

        public String getModCode()
        Contains the Fortress modification code to be associated with an audit record. This is the ObjectName.methodName for the Manager API that was called.
        Returns:
        String contains the modification code maps to 'ftModCode' attribute in 'FortEntity' object class.
      • setModCode

        public void setModCode​(String modCode)
        Set the Fortress modification code to be associated with an audit record. Contains the Fortress modification code which is ObjectName.methodName for the Manager API that was called.
        Parameters:
        modCode - contains the modification code maps to 'ftModCode' attribute in 'FortEntity' object class.
      • getModId

        public String getModId()
        Get the unique ID that is to be associated with a particular audit record in directory.
        Returns:
        attribute that maps to 'ftModId' attribute in 'FortEntity' object class.
      • getContextId

        public String getContextId()
        Return the contextId for this record. The contextId is used for multi-tenancy to isolate data sets within a particular sub-tree within DIT
        Returns:
        value maps to sub-tree in DIT, e.g. ou=contextId, dc=example, dc=com.
      • setContextId

        public void setContextId​(String contextId)
        Set the contextId associated with this record. The contextId is used for multi-tenancy to isolate data sets within a particular sub-tree within DIT. Package private to prevent outside classes from setting.
        Parameters:
        contextId - maps to sub-tree in DIT, e.g. ou=contextId, dc=example, dc=com.
      • getSequenceId

        public long getSequenceId()
        Sequence id is used internal to Fortress.
        Returns:
        long value contains sequence id.
      • setSequenceId

        public void setSequenceId​(long sequenceId)
        Sequence id is used internal to Fortress
        Parameters:
        sequenceId - contains sequence to use.