If I have a ProviderManager with several AuthenticationProviders, what would be a good way to indicate which one authenticated the request? Just store a value as a key in the HttpServletRequest?

I have logic in my AuthenticationProcessingFilter which behaves a little differently depending on how the credentials were authenticated.