Package com.soffid.iam.service
Class SoDRuleServiceImpl
- java.lang.Object
-
- com.soffid.iam.service.SoDRuleServiceBase
-
- com.soffid.iam.service.SoDRuleServiceImpl
-
- All Implemented Interfaces:
com.soffid.iam.service.SoDRuleService
public class SoDRuleServiceImpl extends SoDRuleServiceBase
- Author:
- bubu
-
-
Constructor Summary
Constructors Constructor Description SoDRuleServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Collection<com.soffid.iam.service.AppliedRule>doFindAffectingRulesByRolAccount(com.soffid.iam.api.RoleAccount ra)protected voidfindSoDRuleByJsonQuery(com.soffid.iam.api.AsyncList<com.soffid.iam.api.SoDRule> result, String query, Integer first, Integer pageSize)protected com.soffid.iam.api.SoDRolehandleCreate(com.soffid.iam.api.SoDRole role)protected com.soffid.iam.api.SoDRulehandleCreate(com.soffid.iam.api.SoDRule rule)protected com.soffid.iam.api.SoDRuleMatrixhandleCreate(com.soffid.iam.api.SoDRuleMatrix role)protected Collection<com.soffid.iam.api.SoDRule>handleFindAffectingRulesByRolAccount(com.soffid.iam.api.RoleAccount ra)protected Collection<com.soffid.iam.api.SoDRuleMatrix>handleFindMatrixByRule(Long ruleId)protected Collection<com.soffid.iam.api.SoDRole>handleFindRolesByRule(Long ruleId)protected Collection<com.soffid.iam.api.SoDRule>handleFindRuleByApplication(Long applicationId)protected List<com.soffid.iam.api.SoDRule>handleFindSodRuleByJsonQuery(String query, Integer first, Integer pageSize)protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.SoDRule>handleFindSodRuleByJsonQueryAsync(String query)protected List<com.soffid.iam.api.RoleAccount>handleFindViolotions(String applicationName, es.caib.seycon.ng.comu.SoDRisk riskLevel)protected com.soffid.iam.api.SoDRulehandleGetRuleById(Long ruleId)protected voidhandleInternalRemovingRole(Long roleId)protected com.soffid.iam.api.SoDRulehandleIsAllowed(com.soffid.iam.api.RoleAccount ra)protected booleanhandleIsGreater(es.caib.seycon.ng.comu.SoDRisk first, es.caib.seycon.ng.comu.SoDRisk second)protected voidhandleQualifyRolAccountList(List<com.soffid.iam.api.RoleAccount> ra)protected es.caib.seycon.ng.comu.SoDRiskhandleQualifyUser(Collection<com.soffid.iam.api.RoleAccount> ra)protected voidhandleRemove(com.soffid.iam.api.SoDRole role)protected voidhandleRemove(com.soffid.iam.api.SoDRule rule)protected voidhandleRemove(com.soffid.iam.api.SoDRuleMatrix role)protected com.soffid.iam.api.SoDRulehandleUpdate(com.soffid.iam.api.SoDRule rule)protected com.soffid.iam.api.SoDRuleMatrixhandleUpdate(com.soffid.iam.api.SoDRuleMatrix role)-
Methods inherited from class com.soffid.iam.service.SoDRuleServiceBase
create, create, create, findAffectingRulesByRolAccount, findMatrixByRule, findRolesByRule, findRuleByApplication, findSodRuleByJsonQuery, findSodRuleByJsonQueryAsync, findViolotions, getApplicationService, getAsyncRunnerService, getConfigurationService, getInformationSystemEntityDao, getPrincipal, getRoleEntityDao, getRuleById, getSoDRoleEntityDao, getSoDRuleEntityDao, getSoDRuleMatrixEntityDao, getUserEntityDao, internalRemovingRole, isAllowed, isGreater, qualifyRolAccountList, qualifyUser, remove, remove, remove, setApplicationService, setAsyncRunnerService, setConfigurationService, setInformationSystemEntityDao, setRoleEntityDao, setSoDRoleEntityDao, setSoDRuleEntityDao, setSoDRuleMatrixEntityDao, setUserEntityDao, update, update
-
-
-
-
Method Detail
-
handleFindRuleByApplication
protected Collection<com.soffid.iam.api.SoDRule> handleFindRuleByApplication(Long applicationId) throws Exception
- Specified by:
handleFindRuleByApplicationin classSoDRuleServiceBase- Throws:
Exception
-
handleFindRolesByRule
protected Collection<com.soffid.iam.api.SoDRole> handleFindRolesByRule(Long ruleId) throws Exception
- Specified by:
handleFindRolesByRulein classSoDRuleServiceBase- Throws:
Exception
-
handleFindMatrixByRule
protected Collection<com.soffid.iam.api.SoDRuleMatrix> handleFindMatrixByRule(Long ruleId) throws Exception
- Specified by:
handleFindMatrixByRulein classSoDRuleServiceBase- Throws:
Exception
-
handleCreate
protected com.soffid.iam.api.SoDRule handleCreate(com.soffid.iam.api.SoDRule rule) throws Exception- Specified by:
handleCreatein classSoDRuleServiceBase- Throws:
Exception
-
handleUpdate
protected com.soffid.iam.api.SoDRule handleUpdate(com.soffid.iam.api.SoDRule rule) throws Exception- Specified by:
handleUpdatein classSoDRuleServiceBase- Throws:
Exception
-
handleRemove
protected void handleRemove(com.soffid.iam.api.SoDRule rule) throws Exception- Specified by:
handleRemovein classSoDRuleServiceBase- Throws:
Exception
-
handleCreate
protected com.soffid.iam.api.SoDRole handleCreate(com.soffid.iam.api.SoDRole role) throws Exception- Specified by:
handleCreatein classSoDRuleServiceBase- Throws:
Exception
-
handleRemove
protected void handleRemove(com.soffid.iam.api.SoDRole role) throws Exception- Specified by:
handleRemovein classSoDRuleServiceBase- Throws:
Exception
-
handleIsGreater
protected boolean handleIsGreater(es.caib.seycon.ng.comu.SoDRisk first, es.caib.seycon.ng.comu.SoDRisk second)- Specified by:
handleIsGreaterin classSoDRuleServiceBase
-
handleIsAllowed
protected com.soffid.iam.api.SoDRule handleIsAllowed(com.soffid.iam.api.RoleAccount ra) throws Exception- Specified by:
handleIsAllowedin classSoDRuleServiceBase- Throws:
Exception
-
handleQualifyRolAccountList
protected void handleQualifyRolAccountList(List<com.soffid.iam.api.RoleAccount> ra) throws Exception
- Specified by:
handleQualifyRolAccountListin classSoDRuleServiceBase- Throws:
Exception
-
handleQualifyUser
protected es.caib.seycon.ng.comu.SoDRisk handleQualifyUser(Collection<com.soffid.iam.api.RoleAccount> ra) throws Exception
- Specified by:
handleQualifyUserin classSoDRuleServiceBase- Throws:
Exception
-
doFindAffectingRulesByRolAccount
protected Collection<com.soffid.iam.service.AppliedRule> doFindAffectingRulesByRolAccount(com.soffid.iam.api.RoleAccount ra) throws Exception
- Throws:
Exception
-
handleFindAffectingRulesByRolAccount
protected Collection<com.soffid.iam.api.SoDRule> handleFindAffectingRulesByRolAccount(com.soffid.iam.api.RoleAccount ra) throws Exception
- Specified by:
handleFindAffectingRulesByRolAccountin classSoDRuleServiceBase- Throws:
Exception
-
handleGetRuleById
protected com.soffid.iam.api.SoDRule handleGetRuleById(Long ruleId) throws Exception
- Specified by:
handleGetRuleByIdin classSoDRuleServiceBase- Throws:
Exception
-
handleInternalRemovingRole
protected void handleInternalRemovingRole(Long roleId) throws Exception
- Specified by:
handleInternalRemovingRolein classSoDRuleServiceBase- Throws:
Exception
-
handleFindSodRuleByJsonQuery
protected List<com.soffid.iam.api.SoDRule> handleFindSodRuleByJsonQuery(String query, Integer first, Integer pageSize) throws Exception
- Specified by:
handleFindSodRuleByJsonQueryin classSoDRuleServiceBase- Throws:
Exception
-
handleFindSodRuleByJsonQueryAsync
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.SoDRule> handleFindSodRuleByJsonQueryAsync(String query) throws Exception
- Specified by:
handleFindSodRuleByJsonQueryAsyncin classSoDRuleServiceBase- Throws:
Exception
-
findSoDRuleByJsonQuery
protected void findSoDRuleByJsonQuery(com.soffid.iam.api.AsyncList<com.soffid.iam.api.SoDRule> result, String query, Integer first, Integer pageSize) throws com.soffid.scimquery.EvalException, es.caib.seycon.ng.exception.InternalErrorException, UnsupportedEncodingException, ClassNotFoundException, org.json.JSONException, com.soffid.scimquery.parser.ParseException- Throws:
com.soffid.scimquery.EvalExceptiones.caib.seycon.ng.exception.InternalErrorExceptionUnsupportedEncodingExceptionClassNotFoundExceptionorg.json.JSONExceptioncom.soffid.scimquery.parser.ParseException
-
handleCreate
protected com.soffid.iam.api.SoDRuleMatrix handleCreate(com.soffid.iam.api.SoDRuleMatrix role) throws Exception- Specified by:
handleCreatein classSoDRuleServiceBase- Throws:
Exception
-
handleUpdate
protected com.soffid.iam.api.SoDRuleMatrix handleUpdate(com.soffid.iam.api.SoDRuleMatrix role) throws Exception- Specified by:
handleUpdatein classSoDRuleServiceBase- Throws:
Exception
-
handleRemove
protected void handleRemove(com.soffid.iam.api.SoDRuleMatrix role) throws Exception- Specified by:
handleRemovein classSoDRuleServiceBase- Throws:
Exception
-
handleFindViolotions
protected List<com.soffid.iam.api.RoleAccount> handleFindViolotions(String applicationName, es.caib.seycon.ng.comu.SoDRisk riskLevel) throws Exception
- Specified by:
handleFindViolotionsin classSoDRuleServiceBase- Throws:
Exception
-
-