Interface SubjectRoleGrant

    • Method Detail

      • isGrantable

        @Deprecated
        boolean isGrantable()
        Deprecated.
        This attribute has been deprecated since it was never used.

        Get the value for Grantable. (Can the assignee subject grant the assigned subject to other assignee subjects?)

        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setGrantable

        @Deprecated
        void setGrantable​(boolean newGrantable)
        Deprecated.
        This attribute has been deprecated since it was never used.

        Set the value for Grantable. (Can the assignee subject grant the assigned subject to other assignee subjects?)

        Parameters:
        newGrantable - the new value for Grantable.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setGrantedSubject

        void setGrantedSubject​(Subject newGrantedSubject)
        Set the value for GrantedSubject. This value is mandatory.
        Parameters:
        newGrantedSubject - is the object to set GrantedSubject to. Which Subject was granted to the Grantee Subject. This Subject must have Grantable==true. If this is null, then the object cannot be persisted.