Resolver for token headers
Header values in class: @Data @Builder @NoArgsConstructor @AllArgsConstructor public class UserClaims { private Long userId; private String customerId; private String taxId; private Boolean isDirector; private String personalCode; } Resolver class: import jakarta.servlet.http.HttpServletRequest; import java.util.Objects; import org.apache.commons.lang3.StringUtils; import org.springframework.core.MethodParameter; import org.springframework.web.bind.MissingRequestHeaderException; import org.springframework.web.bind.support.WebDataBinderFactory; import org.springframework.web.context.request.NativeWebRequest; import org.springframework.web.method.support.HandlerMethodArgumentResolver; import org.springframework.web.method.support.ModelAndViewContainer; public class User...