String equality comparison

Code reviewMedium14 min

Your task

Review this Java code that authorizes a request by comparing the role parsed from the request body against a constant.