Rudy De Busscher created DELTASPIKE-1279: --------------------------------------------
Summary: SimpleSecurityViolation needs equals/hashcode Key: DELTASPIKE-1279 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1279 Project: DeltaSpike Issue Type: Improvement Components: Core Reporter: Rudy De Busscher SimpleSecurityViolation can be used to add violations to the Set of violations when writing a custom voter. Creation of the instance can be done by org.apache.deltaspike.security.api.authorization.AbstractDecisionVoter#newSecurityViolation But since the class SimpleSecurityViolation has no equals/hashcode, adding 2 or more violations with the same reason results in multiple entries within the Set. A simple equals/hashcode based on the reason String property solves this. -- This message was sent by Atlassian JIRA (v6.4.14#64029)