Class UserSubject

    • Constructor Detail

      • UserSubject

        public UserSubject()
        Deprecated.
        Constructs an UserSubject
      • UserSubject

        public UserSubject​(String user)
        Deprecated.
        Constructs UserSubject
        Parameters:
        user - the uuid of the user who is member of the EntitlementSubject
      • UserSubject

        public UserSubject​(String user,
                           String pSubjectName)
        Deprecated.
        Constructs UserSubject
        Parameters:
        user - the uuid of the user who is member of the EntitlementSubject
        pSubjectName - subject name as used in OpenAM policy, this is relevant only when UserSubject was created from OpenAM policy Subject
    • Method Detail

      • getSearchIndexAttributes

        public Map<String,​Set<String>> getSearchIndexAttributes()
        Deprecated.
        Description copied from interface: EntitlementSubject
        Returns attribute names and values that could be used for indexing. These values will be used by the authorization engine to obtain the applicable policies for a given Subject.
        Returns:
        a map of key-value pairs that will be used for indexing the entitlements that contain this EntitlementSubject.
      • getRequiredAttributeNames

        public Set<String> getRequiredAttributeNames()
        Deprecated.
        Description copied from interface: EntitlementSubject
        Returns a set of attribute names that are used for evaluation. During evaluation, the Evaluator would try to populate these attributes in the Subject for the EntitlementSubject's consumption.
        Returns:
        a set of attributes that would be required by the EntitlementSubject's implementation.
      • isIdentity

        public boolean isIdentity()
        Deprecated.
        Returns true is this subject is an identity object.
        Returns:
        true is this subject is an identity object.