exceptionMappings = new Properties(); exceptionMappings.put(AccountExpiredException.class.getName(), AuthenticationFailureExpiredEvent.class.getName()); exceptionMappings.put(AuthenticationServiceException.class.getName(), AuthenticationFailureServiceExceptionEvent.class.getName()); exceptionMappings.put(LockedException.class.getName(), AuthenticationFailureLockedEvent.class.getName()); exceptionMappings.put(CredentialsExpiredException.class.getName(), AuthenticationFailureCredentialsExpiredEvent.class.getName()); exceptionMappings.put(DisabledException.class.getName(), AuthenticationFailureDisabledEvent.class.getName()); exceptionMappings.put(BadCredentialsException.class.getName(), AuthenticationFailureBadCredentialsEvent.class.getName()); exceptionMappings.put(UsernameNotFoundException.class.getName(), AuthenticationFailureBadCredentialsEvent.class.getName()); exceptionMappings.put(ConcurrentLoginException.class.getName(), AuthenticationFailureConcurrentLoginEvent.class.getName()); exceptionMappings.put(ProviderNotFoundException.class.getName(), AuthenticationFailureProviderNotFoundEvent.class.getName()); exceptionMappings.put(ProxyUntrustedException.class.getName(), AuthenticationFailureProxyUntrustedEvent.class.getName()); doAddExtraDefaultExceptionMappings(exceptionMappings);
doAddExtraDefaultExceptionMappings(DEFAULT_EXCEPTION_MAPPINGS);
    public void afterPropertiesSet() throws Exception {        checkIfValidList(this.providers);        Assert.notNull(this.messages, "A message source must be set");        if (exceptionMappings == null) {            exceptionMappings = new Properties();            exceptionMappings.put(AccountExpiredException.class.getName(),                AuthenticationFailureExpiredEvent.class.getName());            exceptionMappings.put(AuthenticationServiceException.class.getName(),                AuthenticationFailureServiceExceptionEvent.class.getName());            exceptionMappings.put(LockedException.class.getName(), AuthenticationFailureLockedEvent.class.getName());            exceptionMappings.put(CredentialsExpiredException.class.getName(),                AuthenticationFailureCredentialsExpiredEvent.class.getName());            exceptionMappings.put(DisabledException.class.getName(), AuthenticationFailureDisabledEvent.class.getName());            exceptionMappings.put(BadCredentialsException.class.getName(),                AuthenticationFailureBadCredentialsEvent.class.getName());            exceptionMappings.put(UsernameNotFoundException.class.getName(),                AuthenticationFailureBadCredentialsEvent.class.getName());            exceptionMappings.put(ConcurrentLoginException.class.getName(),                AuthenticationFailureConcurrentLoginEvent.class.getName());            exceptionMappings.put(ProviderNotFoundException.class.getName(),                AuthenticationFailureProviderNotFoundEvent.class.getName());            exceptionMappings.put(ProxyUntrustedException.class.getName(),                AuthenticationFailureProxyUntrustedEvent.class.getName());            doAddExtraDefaultExceptionMappings(exceptionMappings);        }    }