org.acegisecurity.providers.jaas
Class DefaultLoginExceptionResolver

java.lang.Object
  extended by org.acegisecurity.providers.jaas.DefaultLoginExceptionResolver
All Implemented Interfaces:
LoginExceptionResolver

public class DefaultLoginExceptionResolver
extends java.lang.Object
implements LoginExceptionResolver

This LoginExceptionResolver simply wraps the LoginException with an AuthenticationServiceException.

Version:
$Revision: 1496 $
Author:
Ray Krueger

Constructor Summary
DefaultLoginExceptionResolver()
           
 
Method Summary
 AcegiSecurityException resolveException(javax.security.auth.login.LoginException e)
          Translates a Jaas LoginException to an AcegiSecurityException.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLoginExceptionResolver

public DefaultLoginExceptionResolver()
Method Detail

resolveException

public AcegiSecurityException resolveException(javax.security.auth.login.LoginException e)
Description copied from interface: LoginExceptionResolver
Translates a Jaas LoginException to an AcegiSecurityException.

Specified by:
resolveException in interface LoginExceptionResolver
Parameters:
e - The LoginException thrown by the configured LoginModule.
Returns:
The AcegiSecurityException that the JaasAuthenticationProvider should throw.


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