Package com.soffid.iam.service.impl
Class RuleDryRunMethod
- java.lang.Object
-
- com.soffid.iam.service.impl.RuleDryRunMethod
-
- All Implemented Interfaces:
RuleEvaluatorGrantRevokeMethod
public class RuleDryRunMethod extends Object implements RuleEvaluatorGrantRevokeMethod
-
-
Constructor Summary
Constructors Constructor Description RuleDryRunMethod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()FilegetFile()voidgrant(RuleEntity rule, UserEntity user, RoleEntity role, String domainValue, AccountEntity account)voidrevoke(UserEntity user, RoleAccountEntity grant)
-
-
-
Constructor Detail
-
RuleDryRunMethod
public RuleDryRunMethod() throws IOException- Throws:
IOException
-
-
Method Detail
-
grant
public void grant(RuleEntity rule, UserEntity user, RoleEntity role, String domainValue, AccountEntity account) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.NeedsAccountNameException, es.caib.seycon.ng.exception.AccountAlreadyExistsException
- Specified by:
grantin interfaceRuleEvaluatorGrantRevokeMethod- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.caib.seycon.ng.exception.NeedsAccountNameExceptiones.caib.seycon.ng.exception.AccountAlreadyExistsException
-
revoke
public void revoke(UserEntity user, RoleAccountEntity grant) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
revokein interfaceRuleEvaluatorGrantRevokeMethod- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
close
public void close()
-
getFile
public File getFile()
-
-