Interface Effector
- All Known Implementing Classes:
DefaultEffector
public interface Effector
Effector is the interface for Casbin effectors.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanmergeEffects(String expr, Effect[] effects, float[] results) Deprecated.use newStreamEffector instead of this.default StreamEffectornewStreamEffector(String expr)
-
Method Details
-
mergeEffects
Deprecated.use newStreamEffector instead of this.mergeEffects merges all matching results collected by the enforcer into a single decision.- Parameters:
expr- the expression of [policy_effect].effects- the effects of all matched rules.results- the matcher results of all matched rules.- Returns:
- the final effect.
-
newStreamEffector
-