Interface AccountRule
-
- All Known Implementing Classes:
DefaultAccountRule
,TestAccountRule
public interface AccountRule
Interface for enforcing a given account rule to user.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
enforce(String username)
void
enforce(LinkedAccount accout)
void
enforce(User user)
default void
setConf(AccountRuleConf conf)
-
-
-
Method Detail
-
setConf
default void setConf(AccountRuleConf conf)
-
enforce
void enforce(String username)
-
enforce
void enforce(User user)
-
enforce
void enforce(LinkedAccount accout)
-
-