Package org.uberfire.security.authz
Interface VotingAlgorithm
-
- All Known Implementing Classes:
AffirmativeBasedVoter,ConsensusBasedVoter,UnanimousBasedVoter
public interface VotingAlgorithmVoting algorithms are used by thePermissionManagerin order to determine what is the winning result when the user is assigned with more than one role or group.See:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AuthorizationResultvote(Iterable<AuthorizationResult> results)It get a list of results as input and votes for a winning result.
-
-
-
Method Detail
-
vote
AuthorizationResult vote(Iterable<AuthorizationResult> results)
It get a list of results as input and votes for a winning result.
-
-