resolve
Return
the resolved principal, or null when there is no usable identity (unauthenticated or anonymous). A null principal makes Ihawu fail closed — the response is masked rather than exposed.
Parameters
authentication
the Spring Security Authentication