Class AclSid
- java.lang.Object
-
- org.genesys.blocks.model.EmptyModel
-
- org.genesys.blocks.model.BasicModel
-
- org.genesys.blocks.model.VersionedModel
-
- org.genesys.blocks.model.AuditedVersionedModel
-
- org.genesys.blocks.security.model.AclSid
-
- All Implemented Interfaces:
Serializable,Activatable,EntityId,org.springframework.data.domain.Persistable<Long>
- Direct Known Subclasses:
BasicUser,OAuthClient
@Entity public class AclSid extends AuditedVersionedModel
ACL SID uniquely identifies any principal or authority in the system ("SID" stands for "security identity").- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringOIDC_SID_ID-
Fields inherited from class org.genesys.blocks.model.VersionedModel
active
-
-
Constructor Summary
Constructors Constructor Description AclSid()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AclEntry>getAclEntries()Gets the acl entries.StringgetFullName()Subclasses should override this method and return a sensible display name for the SID.List<AclObjectIdentity>getObjectIdentities()Gets the object identities.StringgetSid()Gets the sid.booleanisPrincipal()Checks if is principal.voidsetAclEntries(List<AclEntry> aclEntries)Sets the acl entries.voidsetObjectIdentities(List<AclObjectIdentity> objectIdentities)Sets the object identities.voidsetPrincipal(boolean principal)Sets the principal.voidsetSid(String sid)Sets the sid.-
Methods inherited from class org.genesys.blocks.model.AuditedVersionedModel
getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreatedDate, setLastModifiedBy, setLastModifiedDate
-
Methods inherited from class org.genesys.blocks.model.VersionedModel
equals, getVersion, hashCode, isActive, setActive, setVersion, toString
-
Methods inherited from class org.genesys.blocks.model.BasicModel
getId, setId
-
Methods inherited from class org.genesys.blocks.model.EmptyModel
isNew
-
-
-
-
Field Detail
-
OIDC_SID_ID
public static final String OIDC_SID_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
isPrincipal
public boolean isPrincipal()
Checks if is principal.- Returns:
- true, if is principal
-
setPrincipal
public void setPrincipal(boolean principal)
Sets the principal.- Parameters:
principal- the new principal
-
getSid
public String getSid()
Gets the sid.- Returns:
- the sid
-
setSid
public void setSid(String sid)
Sets the sid.- Parameters:
sid- the new sid
-
getObjectIdentities
public List<AclObjectIdentity> getObjectIdentities()
Gets the object identities.- Returns:
- the object identities
-
setObjectIdentities
public void setObjectIdentities(List<AclObjectIdentity> objectIdentities)
Sets the object identities.- Parameters:
objectIdentities- the new object identities
-
setAclEntries
public void setAclEntries(List<AclEntry> aclEntries)
Sets the acl entries.- Parameters:
aclEntries- the new acl entries
-
getFullName
public String getFullName()
Subclasses should override this method and return a sensible display name for the SID.- Returns:
- SID full name
-
-