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 voiddoApply(RuleEntity rule, UserEntity user, com.soffid.iam.service.RuleEvaluatorServiceImpl.InterpreterEnvironment env, RuleEvaluatorGrantRevokeMethod method)protected voidhandleApply(RuleEntity rule)protected voidhandleApply(RuleEntity rule, UserEntity user)protected com.soffid.iam.api.AsyncProcessTrackerhandleApplyAsync(RuleEntity rule)protected voidhandleApplyRules(UserEntity user)protected FilehandleDryRun(RuleEntity rule)protected com.soffid.iam.api.AsyncProcessTrackerhandleQueryProcessStatus(com.soffid.iam.api.AsyncProcessTracker process)voidsetApplicationContext(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:
handleApplyin classRuleEvaluatorServiceBase- Throws:
Exception
-
handleApplyRules
protected void handleApplyRules(UserEntity user) throws Exception
- Specified by:
handleApplyRulesin classRuleEvaluatorServiceBase- Throws:
Exception
-
handleApply
protected void handleApply(RuleEntity rule) throws Exception
- Specified by:
handleApplyin classRuleEvaluatorServiceBase- Throws:
Exception
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
handleDryRun
protected File handleDryRun(RuleEntity rule) throws Exception
- Specified by:
handleDryRunin classRuleEvaluatorServiceBase- Throws:
Exception
-
handleApplyAsync
protected com.soffid.iam.api.AsyncProcessTracker handleApplyAsync(RuleEntity rule) throws Exception
- Specified by:
handleApplyAsyncin classRuleEvaluatorServiceBase- Throws:
Exception
-
handleQueryProcessStatus
protected com.soffid.iam.api.AsyncProcessTracker handleQueryProcessStatus(com.soffid.iam.api.AsyncProcessTracker process) throws Exception- Specified by:
handleQueryProcessStatusin classRuleEvaluatorServiceBase- Throws:
Exception
-
-