Yes, I'm aware that certain providers might not have the right hooks for all the checks we do, but in our case we are using Jaas alongside with our own implementation of a Provider to create an custom UserDetails object, and rather than copy/paste the checks against UserDetails that are performed in the DaoAuthenticationProvider, I thought it would be put to better use by making that specific part of code accessible for other classes to use if needed.
I will file a JIRA issue on it today. Thanks! -tim -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ray Krueger Sent: Saturday, March 25, 2006 8:51 AM To: acegisecurity-developer@lists.sourceforge.net Subject: Re: [Acegisecurity-developer] checking for invalid user accounts in AuthenticationProvider implementations That isn't really possible for the JaasAuthenticationProvider without Jaas Provider specific hooks. The Jaas LoginModule interface doesn't provide isAccountNonLocked style accessors. On 3/25/06, Ben Alex <[EMAIL PROTECTED]> wrote: > Tim Kettering wrote: > > Maybe it'd be useful if those checks found in > > DaoAuthenticationProvider be made available as a pluggable component > > that other AuthenticationProviders can utilize? > > > > > > > Hi Tim > > If you please add it to JIRA, I'll make a static method that accepts a > UserDetails and throws an appropriate AuthenticationException based on > its state. > > Best regards > Ben > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Home: http://acegisecurity.org > Acegisecurity-developer mailing list > Acegisecurity-developer@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 _______________________________________________ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Home: http://acegisecurity.org Acegisecurity-developer mailing list Acegisecurity-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer