private int getVotingResult( Authentication authentication, Object object, VoterConfigTuple voterConfigTuple) { logger.info( "Called getVotingResult Method: username-" + authentication.getName() + "and voter " + voterConfigTuple.getVoter().toString() + "and config attribute" + voterConfigTuple.getConfigAttribute().getAttribute()); return voterConfigTuple .getVoter() .vote( authentication, object, new ConfigAttributeDefinition(voterConfigTuple.getConfigAttribute())); }