I’‘ve run into a very strange situation using a custom AuthProvider and a custom UserProvider. Here’‘s what I’'d like to do:
-
Use the DefaultAuthProvider to attempt authentication.
-
If it succeeds, load the user using the DefaultUserProvider.
-
If it fails, attempt to authenticate using my custom AuthProvider (which uses SOAP to authenticate against a remote system).
-
If is succeeds, load the user from my custom UserProvider (which uses SOAP to load the user from a remote system).
I almost have this working using the HybridAuthProvider, however there doesn’‘t seem to be a way to couple the DefaultAuthProvider with the DefaultUserProvider. In other words, I can successfully authenticate using the DefaultAuthProvider, but then Wildfire uses my custom UserProvider to load the user. This doesn’'t make sense to be because users should either be on system or the other, not in both. Am I doing something wrong?
Thanks,
Christian