Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.acegisecurity.providers.jaas
Interface LoginExceptionResolver  view LoginExceptionResolver download LoginExceptionResolver.java

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 org.acegisecurity.BadCredentialsException.

Version:
$Revision: 1.3 $

Method Summary
 org.acegisecurity.AcegiSecurityException resolveException(javax.security.auth.login.LoginException e)
          Translates a Jaas LoginException to an AcegiSecurityException.
 

Method Detail

resolveException

public org.acegisecurity.AcegiSecurityException resolveException(javax.security.auth.login.LoginException e)
Translates a Jaas LoginException to an AcegiSecurityException.