Class PrincipalMethodArgumentResolver

java.lang.Object
org.springframework.web.servlet.mvc.method.annotation.PrincipalMethodArgumentResolver
All Implemented Interfaces:
HandlerMethodArgumentResolver

public class PrincipalMethodArgumentResolver extends Object implements HandlerMethodArgumentResolver
Resolves an argument of type Principal, similar to ServletRequestMethodArgumentResolver but irrespective of whether the argument is annotated or not. This is done to enable custom argument resolution of a Principal argument (with a custom annotation).
Since:
5.3.1
Author:
Rossen Stoyanchev