Skip to content

Commit d44f3a8

Browse files
committed
test 2 for SQ sec hotspots
1 parent 21cfbd7 commit d44f3a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/access/src/main/java/uk/gov/gchq/gaffer/access/predicate/AccessPredicate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* admin role. If not it uses a predicate to determine if the user can access a resource.
4040
*/
4141
@SuppressFBWarnings(value = "SE_BAD_FIELD", justification = "Gets serialised by the JSC cache")
42-
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, property = "class")
42+
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "class")
4343
public class AccessPredicate implements BiPredicate<User, String>, Serializable {
4444

4545
private final Predicate<User> userPredicate;

0 commit comments

Comments
 (0)