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 void
findSoDRuleByJsonQuery(com.soffid.iam.api.AsyncList<com.soffid.iam.api.SoDRule> result, String query, Integer first, Integer pageSize)
protected com.soffid.iam.api.SoDRole
handleCreate(com.soffid.iam.api.SoDRole role)
protected com.soffid.iam.api.SoDRule
handleCreate(com.soffid.iam.api.SoDRule rule)
protected com.soffid.iam.api.SoDRuleMatrix
handleCreate(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.SoDRule
handleGetRuleById(Long ruleId)
protected void
handleInternalRemovingRole(Long roleId)
protected com.soffid.iam.api.SoDRule
handleIsAllowed(com.soffid.iam.api.RoleAccount ra)
protected boolean
handleIsGreater(es.caib.seycon.ng.comu.SoDRisk first, es.caib.seycon.ng.comu.SoDRisk second)
protected void
handleQualifyRolAccountList(List<com.soffid.iam.api.RoleAccount> ra)
protected es.caib.seycon.ng.comu.SoDRisk
handleQualifyUser(Collection<com.soffid.iam.api.RoleAccount> ra)
protected void
handleRemove(com.soffid.iam.api.SoDRole role)
protected void
handleRemove(com.soffid.iam.api.SoDRule rule)
protected void
handleRemove(com.soffid.iam.api.SoDRuleMatrix role)
protected com.soffid.iam.api.SoDRule
handleUpdate(com.soffid.iam.api.SoDRule rule)
protected com.soffid.iam.api.SoDRuleMatrix
handleUpdate(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:
handleFindRuleByApplication
in classSoDRuleServiceBase
- Throws:
Exception
-
handleFindRolesByRule
protected Collection<com.soffid.iam.api.SoDRole> handleFindRolesByRule(Long ruleId) throws Exception
- Specified by:
handleFindRolesByRule
in classSoDRuleServiceBase
- Throws:
Exception
-
handleFindMatrixByRule
protected Collection<com.soffid.iam.api.SoDRuleMatrix> handleFindMatrixByRule(Long ruleId) throws Exception
- Specified by:
handleFindMatrixByRule
in classSoDRuleServiceBase
- Throws:
Exception
-
handleCreate
protected com.soffid.iam.api.SoDRule handleCreate(com.soffid.iam.api.SoDRule rule) throws Exception
- Specified by:
handleCreate
in classSoDRuleServiceBase
- Throws:
Exception
-
handleUpdate
protected com.soffid.iam.api.SoDRule handleUpdate(com.soffid.iam.api.SoDRule rule) throws Exception
- Specified by:
handleUpdate
in classSoDRuleServiceBase
- Throws:
Exception
-
handleRemove
protected void handleRemove(com.soffid.iam.api.SoDRule rule) throws Exception
- Specified by:
handleRemove
in classSoDRuleServiceBase
- Throws:
Exception
-
handleCreate
protected com.soffid.iam.api.SoDRole handleCreate(com.soffid.iam.api.SoDRole role) throws Exception
- Specified by:
handleCreate
in classSoDRuleServiceBase
- Throws:
Exception
-
handleRemove
protected void handleRemove(com.soffid.iam.api.SoDRole role) throws Exception
- Specified by:
handleRemove
in classSoDRuleServiceBase
- Throws:
Exception
-
handleIsGreater
protected boolean handleIsGreater(es.caib.seycon.ng.comu.SoDRisk first, es.caib.seycon.ng.comu.SoDRisk second)
- Specified by:
handleIsGreater
in classSoDRuleServiceBase
-
handleIsAllowed
protected com.soffid.iam.api.SoDRule handleIsAllowed(com.soffid.iam.api.RoleAccount ra) throws Exception
- Specified by:
handleIsAllowed
in classSoDRuleServiceBase
- Throws:
Exception
-
handleQualifyRolAccountList
protected void handleQualifyRolAccountList(List<com.soffid.iam.api.RoleAccount> ra) throws Exception
- Specified by:
handleQualifyRolAccountList
in classSoDRuleServiceBase
- Throws:
Exception
-
handleQualifyUser
protected es.caib.seycon.ng.comu.SoDRisk handleQualifyUser(Collection<com.soffid.iam.api.RoleAccount> ra) throws Exception
- Specified by:
handleQualifyUser
in 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:
handleFindAffectingRulesByRolAccount
in classSoDRuleServiceBase
- Throws:
Exception
-
handleGetRuleById
protected com.soffid.iam.api.SoDRule handleGetRuleById(Long ruleId) throws Exception
- Specified by:
handleGetRuleById
in classSoDRuleServiceBase
- Throws:
Exception
-
handleInternalRemovingRole
protected void handleInternalRemovingRole(Long roleId) throws Exception
- Specified by:
handleInternalRemovingRole
in classSoDRuleServiceBase
- Throws:
Exception
-
handleFindSodRuleByJsonQuery
protected List<com.soffid.iam.api.SoDRule> handleFindSodRuleByJsonQuery(String query, Integer first, Integer pageSize) throws Exception
- Specified by:
handleFindSodRuleByJsonQuery
in classSoDRuleServiceBase
- Throws:
Exception
-
handleFindSodRuleByJsonQueryAsync
protected com.soffid.iam.api.AsyncList<com.soffid.iam.api.SoDRule> handleFindSodRuleByJsonQueryAsync(String query) throws Exception
- Specified by:
handleFindSodRuleByJsonQueryAsync
in 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.EvalException
es.caib.seycon.ng.exception.InternalErrorException
UnsupportedEncodingException
ClassNotFoundException
org.json.JSONException
com.soffid.scimquery.parser.ParseException
-
handleCreate
protected com.soffid.iam.api.SoDRuleMatrix handleCreate(com.soffid.iam.api.SoDRuleMatrix role) throws Exception
- Specified by:
handleCreate
in classSoDRuleServiceBase
- Throws:
Exception
-
handleUpdate
protected com.soffid.iam.api.SoDRuleMatrix handleUpdate(com.soffid.iam.api.SoDRuleMatrix role) throws Exception
- Specified by:
handleUpdate
in classSoDRuleServiceBase
- Throws:
Exception
-
handleRemove
protected void handleRemove(com.soffid.iam.api.SoDRuleMatrix role) throws Exception
- Specified by:
handleRemove
in 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:
handleFindViolotions
in classSoDRuleServiceBase
- Throws:
Exception
-
-