Hello!
I can’t retrieve currently logged in user from request (When I go to the login page directly and login via form base method). It happens because method authenticate in org.apache.catalina.authenticator.FormAuthenticator doesn’t call method register(org.apache.catalina.authenticator. AuthenticatorBase) which save principal in request.
But FormAuthenticator do it only in case when resource is secure and if the re-submit happens of the original request URI.
Is this standart behavior?
Sincerely,
Roman Pokhodzhay