Package com.soffid.iam.service.ejb
Interface SoDRuleService
-
public interface SoDRuleService
EJB SoDRuleService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SoDRole
create(SoDRole role)
SoDRule
create(SoDRule rule)
SoDRuleMatrix
create(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)
SoDRule
getRuleById(Long ruleId)
SoDRule
isAllowed(RoleAccount ra)
void
qualifyRolAccountList(List<RoleAccount> ra)
void
remove(SoDRole role)
void
remove(SoDRule rule)
void
remove(SoDRuleMatrix role)
SoDRule
update(SoDRule rule)
SoDRuleMatrix
update(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
-
-