Package org.uberfire.security.impl.authz
Class AffirmativeBasedVoter
- java.lang.Object
-
- org.uberfire.security.impl.authz.AffirmativeBasedVoter
-
- All Implemented Interfaces:
VotingAlgorithm
public class AffirmativeBasedVoter extends Object implements VotingAlgorithm
Algorithm implementation of theVotingStrategy.AFFIRMATIVEstrategy.
-
-
Constructor Summary
Constructors Constructor Description AffirmativeBasedVoter()
-
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
-
-