Class Permission
- java.lang.Object
-
- edu.uiuc.ncsa.security.core.util.IdentifiableImpl
-
- org.oa4mp.server.api.permissions.admin.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 Summary
Constructors Constructor Description Permission(edu.uiuc.ncsa.security.core.Identifier identifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canSubstitute()
edu.uiuc.ncsa.security.core.util.IdentifiableImpl
clone()
edu.uiuc.ncsa.security.core.Identifier
getAdminID()
edu.uiuc.ncsa.security.core.Identifier
getClientID()
List<edu.uiuc.ncsa.security.core.Identifier>
getErsatzChain()
The chain (i.e.boolean
hasErsatzChain()
boolean
isApprove()
boolean
isCreate()
boolean
isDelete()
boolean
isRead()
boolean
isWrite()
void
setAdminID(edu.uiuc.ncsa.security.core.Identifier adminID)
void
setApprove(boolean approve)
void
setClientID(edu.uiuc.ncsa.security.core.Identifier clientID)
void
setCreate(boolean create)
void
setDelete(boolean delete)
void
setErsatzChain(List<edu.uiuc.ncsa.security.core.Identifier> ersatzID)
void
setRead(boolean read)
void
setSubstitute(boolean substitute)
void
setWrite(boolean write)
String
toString()
-
-
-
Method Detail
-
clone
public edu.uiuc.ncsa.security.core.util.IdentifiableImpl clone()
- Specified by:
clone
in interfaceedu.uiuc.ncsa.security.core.Identifiable
- Overrides:
clone
in classedu.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)
-
-