Class Acl
java.lang.Object
com.illumon.iris.db.v2.permissions.aclser.Acl
public class Acl extends Object
Plain old java object to represent ACL data that may be imported/exported. Marked up so that it can be serialized/
deserialized to/from XML or JSON using jackson.
Object mapper configurations:
XmlMapper mapper = new XmlMapper(); mapper.enable(ToXmlGenerator.Feature.WRITE_XML_DECLARATION); mapper.enable(SerializationFeature.WRAP_ROOT_VALUE, SerializationFeature.INDENT_OUTPUT); JsonMapper mapper = new JsonMapper(); mapper.enable(SerializationFeature.WRAP_ROOT_VALUE, SerializationFeature.INDENT_OUTPUT); mapper.enable(DeserializationFeature.UNWRAP_ROOT_VALUE);
-
Constructor Summary
Constructors Constructor Description Acl()
Acl(List<PasswordRecord> passwordRecords, List<UserGroupRecord> userGroupRecords, List<TableAclRecord> tableAclRecords, List<ColumnAclRecord> columnAclRecords, List<SystemAclRecord> systemAclRecords, List<InputTableEditorRecord> inputTableEditorRecords, List<GroupStrategyRecord> groupStrategyRecords, List<StrategyAccountRecord> strategyAccountRecords, List<SystemUserRecord> systemUserRecords)
-
Method Summary
-
Constructor Details
-
Acl
public Acl(List<PasswordRecord> passwordRecords, List<UserGroupRecord> userGroupRecords, List<TableAclRecord> tableAclRecords, List<ColumnAclRecord> columnAclRecords, List<SystemAclRecord> systemAclRecords, List<InputTableEditorRecord> inputTableEditorRecords, List<GroupStrategyRecord> groupStrategyRecords, List<StrategyAccountRecord> strategyAccountRecords, List<SystemUserRecord> systemUserRecords) -
Acl
public Acl()
-
-
Method Details
-
getPasswordRecords
-
setPasswordRecords
-
getUserGroupRecords
-
setUserGroupRecords
-
getTableAclRecords
-
setTableAclRecords
-
getColumnAclRecords
-
setColumnAclRecords
-
getSystemAclRecords
-
setSystemAclRecords
-
getInputTableEditorRecords
-
setInputTableEditorRecords
-
getGroupStrategyRecords
-
setGroupStrategyRecords
-
getStrategyAccountRecords
-
setStrategyAccountRecords
-
getSystemUserRecords
-
setSystemUserRecords
-