public class MasterAccessControlEntry extends MasterControlEntry implements Serializable, JoynrType
| Modifier and Type | Field and Description |
|---|---|
static int |
MAJOR_VERSION |
static int |
MINOR_VERSION |
| Constructor and Description |
|---|
MasterAccessControlEntry()
Default Constructor
|
MasterAccessControlEntry(MasterAccessControlEntry masterAccessControlEntryObj)
Copy constructor
|
MasterAccessControlEntry(String uid,
String domain,
String interfaceName,
TrustLevel defaultRequiredTrustLevel,
TrustLevel[] possibleRequiredTrustLevels,
TrustLevel defaultRequiredControlEntryChangeTrustLevel,
TrustLevel[] possibleRequiredControlEntryChangeTrustLevels,
String operation,
Permission defaultConsumerPermission,
Permission[] possibleConsumerPermissions)
Parameterized constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Check for equality
|
Permission |
getDefaultConsumerPermission()
Gets DefaultConsumerPermission
|
String |
getOperation()
Gets Operation
|
Permission[] |
getPossibleConsumerPermissions()
Gets PossibleConsumerPermissions
|
int |
hashCode()
Calculate code for hashing based on member contents
|
void |
setDefaultConsumerPermission(Permission defaultConsumerPermission)
Sets DefaultConsumerPermission
|
void |
setOperation(String operation)
Sets Operation
|
void |
setPossibleConsumerPermissions(Permission[] possibleConsumerPermissions)
Sets PossibleConsumerPermissions
|
String |
toString()
Stringifies the class
|
getDefaultRequiredControlEntryChangeTrustLevel, getDefaultRequiredTrustLevel, getPossibleRequiredControlEntryChangeTrustLevels, getPossibleRequiredTrustLevels, setDefaultRequiredControlEntryChangeTrustLevel, setDefaultRequiredTrustLevel, setPossibleRequiredControlEntryChangeTrustLevels, setPossibleRequiredTrustLevelsgetDomain, getInterfaceName, getUid, setDomain, setInterfaceName, setUidpublic static final int MAJOR_VERSION
public static final int MINOR_VERSION
public MasterAccessControlEntry()
public MasterAccessControlEntry(MasterAccessControlEntry masterAccessControlEntryObj)
masterAccessControlEntryObj - reference to the object to be copiedpublic MasterAccessControlEntry(String uid, String domain, String interfaceName, TrustLevel defaultRequiredTrustLevel, TrustLevel[] possibleRequiredTrustLevels, TrustLevel defaultRequiredControlEntryChangeTrustLevel, TrustLevel[] possibleRequiredControlEntryChangeTrustLevels, String operation, Permission defaultConsumerPermission, Permission[] possibleConsumerPermissions)
uid - A unique user ID (UID) this Control Entry (CE) applies to or the wildcard character (asterisk sign) if this CE applies to all users. CEs that use the wildcard character are overruled by specific ones (if they exist).domain - The domain this Control Entry (CE) applies to.interfaceName - The interface this Control Entry (CE) applies to.defaultRequiredTrustLevel - The default required trusted level (TL). TL depends on used device and Authentication mechanism.possibleRequiredTrustLevels - A list of all possible Trust Levels that may be used in an owner CE to overwrite the default required TL.defaultRequiredControlEntryChangeTrustLevel - The default Trust Level (TL) that is needed by the requester in order to create, edit or delete a corresponding owner CE.possibleRequiredControlEntryChangeTrustLevels - A list of all possible Trust Levels (TLs) that may be used in an owner CE to override the default required CE change TL.operation - The operation this Access Control Entry (ACE) applies to or the wildcard character (asterisk sign) if this ACE applies to all operations of the corresponding interface. ACEs that use the wildcard character are overruled by specific ones (if they exist).defaultConsumerPermission - The default consumer permission that applies to the specified domain, interface and operations combination if there does not exist a corresponding ACE in the owner Access Control List (ACL).possibleConsumerPermissions - A list of all possible consumer permissions that may be used in an owner ACE to overwrite the default consumer permission.public String getOperation()
public void setOperation(String operation)
operation - The operation this Access Control Entry (ACE) applies to or the wildcard character (asterisk sign) if this ACE applies to all operations of the corresponding interface. ACEs that use the wildcard character are overruled by specific ones (if they exist).public Permission getDefaultConsumerPermission()
public void setDefaultConsumerPermission(Permission defaultConsumerPermission)
defaultConsumerPermission - The default consumer permission that applies to the specified domain, interface and operations combination if there does not exist a corresponding ACE in the owner Access Control List (ACL).public Permission[] getPossibleConsumerPermissions()
public void setPossibleConsumerPermissions(Permission[] possibleConsumerPermissions)
possibleConsumerPermissions - A list of all possible consumer permissions that may be used in an owner ACE to overwrite the default consumer permission.public String toString()
toString in class MasterControlEntrypublic boolean equals(Object obj)
equals in class MasterControlEntryobj - Reference to the object to compare topublic int hashCode()
hashCode in class MasterControlEntryCopyright © 2021. All rights reserved.