Class Permission

  • All Implemented Interfaces:
    edu.uiuc.ncsa.security.core.Identifiable, Serializable, Cloneable

    public class Permission
    extends edu.uiuc.ncsa.security.core.util.IdentifiableImpl

    Created by Jeff Gaynor
    on 10/11/16 at 11:00 AM

    See Also:
    Serialized Form
    • Constructor Detail

      • Permission

        public Permission​(edu.uiuc.ncsa.security.core.Identifier identifier)
    • Method Detail

      • clone

        public edu.uiuc.ncsa.security.core.util.IdentifiableImpl clone()
        Specified by:
        clone in interface edu.uiuc.ncsa.security.core.Identifiable
        Overrides:
        clone in class edu.uiuc.ncsa.security.core.util.IdentifiableImpl
      • getErsatzChain

        public List<edu.uiuc.ncsa.security.core.Identifier> getErsatzChain()
        The chain (i.e. list) of ersatz clients. Note that this does not contain the provisioning client, so if A ≻ α ≻ β ≻ γ , the A is the provisioning client and the returned result is the list of ids [α, β, γ]
        Returns:
      • setErsatzChain

        public void setErsatzChain​(List<edu.uiuc.ncsa.security.core.Identifier> ersatzID)
      • hasErsatzChain

        public boolean hasErsatzChain()
      • canSubstitute

        public boolean canSubstitute()
      • setSubstitute

        public void setSubstitute​(boolean substitute)
      • isApprove

        public boolean isApprove()
      • setApprove

        public void setApprove​(boolean approve)
      • getAdminID

        public edu.uiuc.ncsa.security.core.Identifier getAdminID()
      • setAdminID

        public void setAdminID​(edu.uiuc.ncsa.security.core.Identifier adminID)
      • getClientID

        public edu.uiuc.ncsa.security.core.Identifier getClientID()
      • setClientID

        public void setClientID​(edu.uiuc.ncsa.security.core.Identifier clientID)
      • isCreate

        public boolean isCreate()
      • setCreate

        public void setCreate​(boolean create)
      • isDelete

        public boolean isDelete()
      • setDelete

        public void setDelete​(boolean delete)
      • isRead

        public boolean isRead()
      • setRead

        public void setRead​(boolean read)
      • isWrite

        public boolean isWrite()
      • setWrite

        public void setWrite​(boolean write)