You can also propagate an exception if it actually fails (as would
usually be expected).  The AuthenticationStrategy in use determines
how to handle any exceptions that might arise.  Null return values
usually indicate that no user account could be found in that data
source which may or may not be your desired effect.  It sounds like it
might be though.

Cheers,

Les

On Thu, Jan 28, 2010 at 2:35 PM, rchristy <[email protected]> wrote:
>
> OK the issue was I was return an info object in both realms.  Instead now I
> return null in the one that fails and that solved my problem.
>
> Thanks,
>
> Rich
> --
> View this message in context: 
> http://n2.nabble.com/Authenticating-in-multiple-realms-tp4474104p4475532.html
> Sent from the Shiro User mailing list archive at Nabble.com.
>

Reply via email to