Package com.soffid.iam.service
Class RuleEvaluatorServiceImpl
- java.lang.Object
-
- com.soffid.iam.service.RuleEvaluatorServiceBase
-
- com.soffid.iam.service.RuleEvaluatorServiceImpl
-
- All Implemented Interfaces:
RuleEvaluatorService
,org.springframework.context.ApplicationContextAware
public class RuleEvaluatorServiceImpl extends RuleEvaluatorServiceBase implements org.springframework.context.ApplicationContextAware
- Author:
- bubu
-
-
Field Summary
-
Fields inherited from interface com.soffid.iam.service.RuleEvaluatorService
SERVICE_NAME
-
-
Constructor Summary
Constructors Constructor Description RuleEvaluatorServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doApply(RuleEntity rule, UserEntity user, com.soffid.iam.service.RuleEvaluatorServiceImpl.InterpreterEnvironment env, RuleEvaluatorGrantRevokeMethod method)
protected void
handleApply(RuleEntity rule)
protected void
handleApply(RuleEntity rule, UserEntity user)
protected com.soffid.iam.api.AsyncProcessTracker
handleApplyAsync(RuleEntity rule)
protected void
handleApplyRules(UserEntity user)
protected File
handleDryRun(RuleEntity rule)
protected com.soffid.iam.api.AsyncProcessTracker
handleQueryProcessStatus(com.soffid.iam.api.AsyncProcessTracker process)
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Methods inherited from class com.soffid.iam.service.RuleEvaluatorServiceBase
apply, apply, applyAsync, applyRules, dryRun, getAccountEntityDao, getAccountService, getApplicationService, getAsyncRunnerService, getDispatcherService, getGroupEntityDao, getPrincipal, getRoleAccountEntityDao, getRoleEntityDao, getRuleAssignedRoleEntityDao, getRuleEntityDao, getSoffidEventListener, getSystemEntityDao, getTaskEntityDao, getUserEntityDao, getUserService, queryProcessStatus, setAccountEntityDao, setAccountService, setApplicationService, setAsyncRunnerService, setDispatcherService, setGroupEntityDao, setRoleAccountEntityDao, setRoleEntityDao, setRuleAssignedRoleEntityDao, setRuleEntityDao, setSoffidEventListener, setSystemEntityDao, setTaskEntityDao, setUserEntityDao, setUserService
-
-
-
-
Method Detail
-
doApply
protected void doApply(RuleEntity rule, UserEntity user, com.soffid.iam.service.RuleEvaluatorServiceImpl.InterpreterEnvironment env, RuleEvaluatorGrantRevokeMethod method) throws Exception
- Throws:
Exception
-
handleApply
protected void handleApply(RuleEntity rule, UserEntity user) throws Exception
- Specified by:
handleApply
in classRuleEvaluatorServiceBase
- Throws:
Exception
-
handleApplyRules
protected void handleApplyRules(UserEntity user) throws Exception
- Specified by:
handleApplyRules
in classRuleEvaluatorServiceBase
- Throws:
Exception
-
handleApply
protected void handleApply(RuleEntity rule) throws Exception
- Specified by:
handleApply
in classRuleEvaluatorServiceBase
- Throws:
Exception
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
handleDryRun
protected File handleDryRun(RuleEntity rule) throws Exception
- Specified by:
handleDryRun
in classRuleEvaluatorServiceBase
- Throws:
Exception
-
handleApplyAsync
protected com.soffid.iam.api.AsyncProcessTracker handleApplyAsync(RuleEntity rule) throws Exception
- Specified by:
handleApplyAsync
in classRuleEvaluatorServiceBase
- Throws:
Exception
-
handleQueryProcessStatus
protected com.soffid.iam.api.AsyncProcessTracker handleQueryProcessStatus(com.soffid.iam.api.AsyncProcessTracker process) throws Exception
- Specified by:
handleQueryProcessStatus
in classRuleEvaluatorServiceBase
- Throws:
Exception
-
-