This section describes the SMAPI interfaces that support creating and managing custom AccessType and AssetType security objects. AccessType and AssetType security objects do not have a DN, so their names must be unique throughout the security system.
Table 5-6 list the AssetTypeManagementHome interface methods and the permissions required to run them.
Method |
Permission required |
---|---|
create(java.util.Map) |
WRITE on the AccessAssetTypeCtrlAsset controlling asset in the domain that contains the organization in which this AssetType is being created. |
findByPrimaryKey(String) |
READ on the AccessAssetTypeCtrlAsset controlling asset. |
findByName(String) |
READ on the AccessAssetTypeCtrlAsset controlling asset. |
Table 5-7 lists the AssetTypeManagementQueries interface method and the permission required to run it.
Method |
Permission required |
---|---|
listInforByConditions(SearchInfo[], Integer) |
LIST on the controlling assets of the AssetTypes returned. |
Table 5-8 lists the AssetTypeManagement interface methods and the permissions required to run them.
Method |
Permission required |
---|---|
getAccessTypes() |
None. |
setAccessTypes(String[]) |
UPDATE on the AssetType’s controlling asset. |
removeAccessTypes(String[]) |
UPDATE on the AssetType’s controlling asset. |
setName() |
UPDATE on the AssetType’s controlling asset. |
setSecurityDomain(String) |
DELETE on the AssetType’s controlling asset in the existing domain, and WRITE on the AccessAssetTypeCtrlAsset controlling asset in the new domain. |
getSecurityDomain() |
None. |
getDescription() |
None. |
setDescription(String) |
UPDATE on the AssetType’s controlling asset. |
getInfo() |
None. |
setInfo(Map) |
UPDATE on the AssetType’s controlling asset. |
getControllingAsset() |
None. |
Table 5-9 lists the AccessTypeManagementHome interface methods and the permissions required to run them.
Method |
Permission required |
---|---|
create(java.util.Map) |
WRITE on the AccessType’s controlling asset in the domain that contains the organization in which this AccessType is being created. |
findByPrimaryKey(String) |
READ on the AccessType’s controlling asset. |
findByName(String) |
READ on the AccessType’s controlling asset. |
Table 5-10 lists the AccessTypeManagementQueries interface method and the permission required to run it.
Method |
Permission required |
---|---|
listInforByConditions(SearchInfo[], Integer) |
LIST on the controlling assets of the AccessTypes returned. |
Table 5-11 lists the AccessTypeManagement interface methods and the permissions required to run them.
Method |
Permission required |
---|---|
setName() |
UPDATE on the AccessType’s controlling asset. |
setSecurityDomain(String) |
DELETE on the AccessType’s controlling asset in the existing domain, and WRITE on the AccessAssetTypeCtrlAsset controlling asset in the new domain. |
getSecurityDomain() |
None. |
getDescription() |
None. |
setDescription(String) |
UPDATE on the AccessAssetTypeCtrlAsset controlling asset. |
getInfo() |
None. |
setInfo(Map) |
UPDATE on the AccessType’s controlling asset. |
getControllingAsset() |
None. |