One example if this is the JndiLdapRealm.  In doGetAuthenticationInfo, 
it passes the credentials to the directory, and if the authentication 
fails, it throws an AuthenticationException.  Meanwhile, it sets its 
CredentialsMatcher to "AllowAllCredentialsMatcher".

Hope that helps,
Jared

On Fri 22 Jun 2012 07:00:38 AM CDT, Marcus Bond wrote:
> Hi, I wondered if anyone has done anything where there has been a need
> to pass credentials to a service for authentication?
>
>
>
> I have a situation where a user gives username and password but there
> is no way for me to retrieve the stored credentials to match – what
> should happen is that the credentials are sent to a remote service
> which will in turn say they are good or otherwise. Is there a “Shiro
> way” of doing this?
>
>
>
> Marcus.
>


Reply via email to