@Entity(name="access_security_group") public final class AccessSecurityGroup extends Object implements Serializable, NamedEntity
AccessSecurityGroup defines the access security group (ASG) as recognised by the IOC. The group consists
of a list of input PVs and a list of rules. The input PVs specify which PVs contribute to the security (e.g. machine
state) and the rules define the actual access: which users, from which IPs and at which input values.| Constructor and Description |
|---|
AccessSecurityGroup() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDescription() |
int |
getId()
Returns the unique id of the entity.
|
Set<AccessSecurityInput> |
getInputs() |
String |
getName()
Returns the name of the entity.
|
Set<AccessSecurityRule> |
getRules() |
int |
hashCode() |
void |
setDescription(String description) |
void |
setInputs(Set<AccessSecurityInput> inputs) |
void |
setName(String name) |
void |
setRules(Set<AccessSecurityRule> rules) |
String |
toString() |
String |
toString(int level)
Returns a string representation of this object using the indent of the given level.
|
public int getId()
NamedEntitygetId in interface NamedEntitypublic String getName()
NamedEntitygetName in interface NamedEntitypublic void setName(String name)
name - the name of the ASG grouppublic String getDescription()
public void setDescription(String description)
description - the description of this grouppublic Set<AccessSecurityInput> getInputs()
public void setInputs(Set<AccessSecurityInput> inputs)
inputs - the inputs that contribute to the evaluation of rulespublic Set<AccessSecurityRule> getRules()
public void setRules(Set<AccessSecurityRule> rules)
rules - the rules that define the access to the PVspublic String toString(int level)
EntityDescriptortoString in interface EntityDescriptorlevel - the indent levelCopyright © 2023 European Spallation Source. All rights reserved.