Package com.soffid.iam.service.ejb
Interface SoDRuleService
-
public interface SoDRuleServiceEJB SoDRuleService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SoDRolecreate(SoDRole role)SoDRulecreate(SoDRule rule)SoDRuleMatrixcreate(SoDRuleMatrix role)Collection<SoDRule>findAffectingRulesByRolAccount(RoleAccount ra)Collection<SoDRuleMatrix>findMatrixByRule(Long ruleId)Collection<SoDRole>findRolesByRule(Long ruleId)Collection<SoDRule>findRuleByApplication(Long applicationId)List<SoDRule>findSodRuleByJsonQuery(String query, Integer first, Integer pageSize)AsyncList<SoDRule>findSodRuleByJsonQueryAsync(String query)List<RoleAccount>findViolotions(String applicationName, SoDRisk riskLevel)SoDRulegetRuleById(Long ruleId)SoDRuleisAllowed(RoleAccount ra)voidqualifyRolAccountList(List<RoleAccount> ra)voidremove(SoDRole role)voidremove(SoDRule rule)voidremove(SoDRuleMatrix role)SoDRuleupdate(SoDRule rule)SoDRuleMatrixupdate(SoDRuleMatrix role)
-
-
-
Method Detail
-
findSodRuleByJsonQueryAsync
AsyncList<SoDRule> findSodRuleByJsonQueryAsync(String query) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
create
SoDRuleMatrix create(SoDRuleMatrix role) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
update
SoDRuleMatrix update(SoDRuleMatrix role) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
create
SoDRole create(SoDRole role) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
create
SoDRule create(SoDRule rule) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getRuleById
SoDRule getRuleById(Long ruleId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
isAllowed
SoDRule isAllowed(RoleAccount ra) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
update
SoDRule update(SoDRule rule) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findAffectingRulesByRolAccount
Collection<SoDRule> findAffectingRulesByRolAccount(RoleAccount ra) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findMatrixByRule
Collection<SoDRuleMatrix> findMatrixByRule(Long ruleId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRolesByRule
Collection<SoDRole> findRolesByRule(Long ruleId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRuleByApplication
Collection<SoDRule> findRuleByApplication(Long applicationId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findSodRuleByJsonQuery
List<SoDRule> findSodRuleByJsonQuery(String query, Integer first, Integer pageSize) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findViolotions
List<RoleAccount> findViolotions(String applicationName, SoDRisk riskLevel) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
qualifyRolAccountList
void qualifyRolAccountList(List<RoleAccount> ra) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
remove
void remove(SoDRuleMatrix role) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
remove
void remove(SoDRole role) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
remove
void remove(SoDRule rule) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
-