Package com.soffid.iam.rc.service
Interface SoDRuleService
public interface SoDRuleService
Service SoDRuleService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionOperation createOperation createcreate(SoDRuleMatrix role) Operation createOperation findAffectingRulesByRolAccountfindMatrixByRule(Long ruleId) Operation findMatrixByRulefindRolesByRule(Long ruleId) Operation findRolesByRulefindRuleByApplication(Long applicationId) Operation findRuleByApplicationcom.soffid.zkdb.api.PagedResult<SoDRule>findSodRules(com.soffid.zkdb.api.Query query) Operation findSodRulesfindViolotions(String applicationName, SoDRisk riskLevel) Operation findViolotionsgenerateChangesReport(SoDRule rule, Collection<SoDRole> grants, Collection<SoDRuleMatrix> matrix) Operation generateChangesReportgetRuleById(Long ruleId) Operation getRuleByIdvoidinternalRemovingRole(Long roleId) Operation internalRemovingRoleisAllowed(RoleAccount ra) Operation isAllowedbooleanOperation isGreatervoidOperation qualifyRolAccountListOperation qualifyUservoidOperation removevoidOperation removevoidremove(SoDRuleMatrix role) Operation removeOperation updateupdate(SoDRuleMatrix role) Operation update
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
isGreater
Operation isGreater- Parameters:
first-second-- Returns:
- Throws:
InternalErrorException
-
qualifyUser
SoDRisk qualifyUser(Collection<RoleAccount> ra) throws InternalErrorException, InternalErrorException Operation qualifyUser- Parameters:
ra-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
create
Operation create- Parameters:
role-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
create
Operation create- Parameters:
rule-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getRuleById
Operation getRuleById- Parameters:
ruleId-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
isAllowed
Operation isAllowed- Parameters:
ra-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
update
Operation update- Parameters:
rule-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
create
Operation create- Parameters:
role-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
update
Operation update- Parameters:
role-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findSodRules
com.soffid.zkdb.api.PagedResult<SoDRule> findSodRules(com.soffid.zkdb.api.Query query) throws InternalErrorException, InternalErrorException Operation findSodRules- Parameters:
query-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
generateChangesReport
String generateChangesReport(SoDRule rule, Collection<SoDRole> grants, Collection<SoDRuleMatrix> matrix) throws InternalErrorException Operation generateChangesReport- Parameters:
rule-grants-matrix-- Returns:
- Throws:
InternalErrorException
-
findAffectingRulesByRolAccount
Collection<SoDRule> findAffectingRulesByRolAccount(RoleAccount ra) throws InternalErrorException, InternalErrorException Operation findAffectingRulesByRolAccount- Parameters:
ra-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findMatrixByRule
Collection<SoDRuleMatrix> findMatrixByRule(Long ruleId) throws InternalErrorException, InternalErrorException Operation findMatrixByRule- Parameters:
ruleId-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findRolesByRule
Collection<SoDRole> findRolesByRule(Long ruleId) throws InternalErrorException, InternalErrorException Operation findRolesByRule- Parameters:
ruleId-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findRuleByApplication
Collection<SoDRule> findRuleByApplication(Long applicationId) throws InternalErrorException, InternalErrorException Operation findRuleByApplication- Parameters:
applicationId-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findViolotions
List<RoleAccount> findViolotions(String applicationName, SoDRisk riskLevel) throws InternalErrorException, InternalErrorException Operation findViolotions- Parameters:
applicationName-riskLevel-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
internalRemovingRole
Operation internalRemovingRole- Parameters:
roleId-- Throws:
InternalErrorExceptionInternalErrorException
-
qualifyRolAccountList
void qualifyRolAccountList(List<RoleAccount> ra) throws InternalErrorException, InternalErrorException Operation qualifyRolAccountList- Parameters:
ra-- Throws:
InternalErrorExceptionInternalErrorException
-
remove
Operation remove- Parameters:
role-- Throws:
InternalErrorExceptionInternalErrorException
-
remove
Operation remove- Parameters:
rule-- Throws:
InternalErrorExceptionInternalErrorException
-
remove
Operation remove- Parameters:
role-- Throws:
InternalErrorExceptionInternalErrorException
-