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 void
close()
File
getFile()
void
grant(RuleEntity rule, UserEntity user, RoleEntity role, String domainValue, AccountEntity account)
void
revoke(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:
grant
in interfaceRuleEvaluatorGrantRevokeMethod
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.seycon.ng.exception.NeedsAccountNameException
es.caib.seycon.ng.exception.AccountAlreadyExistsException
-
revoke
public void revoke(UserEntity user, RoleAccountEntity grant) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
revoke
in interfaceRuleEvaluatorGrantRevokeMethod
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
close
public void close()
-
getFile
public File getFile()
-
-