Calling the constructor for PreAuthenticatedAuthenticationToken with 3 args, which sets the authenticated flag to true. This fixes issues with targets requiring that the user logged in but with no specific roles.
Without the modification,we can end up in the following situation:
Calling the constructor for
PreAuthenticatedAuthenticationToken
with 3 args, which sets theauthenticated
flag totrue
. This fixes issues with targets requiring that the user logged in but with no specific roles.Without the modification,we can end up in the following situation:
tests: adding an IT,
make test
OK