We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21cfbd7 commit d44f3a8Copy full SHA for d44f3a8
core/access/src/main/java/uk/gov/gchq/gaffer/access/predicate/AccessPredicate.java
@@ -39,7 +39,7 @@
39
* admin role. If not it uses a predicate to determine if the user can access a resource.
40
*/
41
@SuppressFBWarnings(value = "SE_BAD_FIELD", justification = "Gets serialised by the JSC cache")
42
-@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, property = "class")
+@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "class")
43
public class AccessPredicate implements BiPredicate<User, String>, Serializable {
44
45
private final Predicate<User> userPredicate;
0 commit comments