org.acegisecurity.providers.jaas
Interface LoginExceptionResolver

All Known Implementing Classes:
DefaultLoginExceptionResolver

public interface LoginExceptionResolver

The JaasAuthenticationProvider takes an instance of LoginExceptionResolver to resolve LoginModule specific exceptions to Acegi exceptions. For instance, a configured login module could throw a ScrewedUpPasswordException that extends LoginException, in this instance the LoginExceptionResolver implementation would return a BadCredentialsException.

Version:
$Revision: 1784 $
Author:
Ray Krueger

Method Summary
 AcegiSecurityException resolveException(LoginException e)
          Translates a Jaas LoginException to an AcegiSecurityException.
 

Method Detail

resolveException

AcegiSecurityException resolveException(LoginException e)
Translates a Jaas LoginException to an AcegiSecurityException.

Parameters:
e - The LoginException thrown by the configured LoginModule.
Returns:
The AcegiSecurityException that the JaasAuthenticationProvider should throw.


Copyright © 2004-2009 Interface21, Inc. All Rights Reserved.