Spring Security Framework

org.springframework.security.providers.jaas
Class DefaultLoginExceptionResolver

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

public class DefaultLoginExceptionResolver
extends Object
implements LoginExceptionResolver

This LoginExceptionResolver simply wraps the LoginException with an AuthenticationServiceException.

Version:
$Revision: 2142 $
Author:
Ray Krueger

Constructor Summary
DefaultLoginExceptionResolver()
           
 
Method Summary
 SpringSecurityException resolveException(LoginException e)
          Translates a Jaas LoginException to an SpringSecurityException.
 
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 SpringSecurityException resolveException(LoginException e)
Description copied from interface: LoginExceptionResolver
Translates a Jaas LoginException to an SpringSecurityException.

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

Spring Security Framework

Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.