Package org.uberfire.security.impl.authz
Class UnanimousBasedVoter
- java.lang.Object
-
- org.uberfire.security.impl.authz.UnanimousBasedVoter
-
- All Implemented Interfaces:
VotingAlgorithm
public class UnanimousBasedVoter extends Object implements VotingAlgorithm
Algorithm implementation of theVotingStrategy.UNANIMOUSstrategy.
-
-
Constructor Summary
Constructors Constructor Description UnanimousBasedVoter()
-
Method Summary
All Methods Instance Methods Concrete 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
public AuthorizationResult vote(Iterable<AuthorizationResult> results)
Description copied from interface:VotingAlgorithmIt get a list of results as input and votes for a winning result.- Specified by:
votein interfaceVotingAlgorithm
-
-