core/src/main/java/org/springframework/security/authentication/jaas/AbstractJaasAuthenticationProvider.java
protected void publishFailureEvent(UsernamePasswordAuthenticationToken token,
			AuthenticationException ase) {
		if (this.applicationEventPublisher != null) {
			this.applicationEventPublisher
					.publishEvent(new JaasAuthenticationFailedEvent(token, ase));
		}
	}
protected void publishFailureEvent(UsernamePasswordAuthenticationToken token,
			AuthenticationException ase) {
		if (this.applicationEventPublisher != null) {
			this.applicationEventPublisher
					.publishEvent(new JaasAuthenticationFailedEvent(token, ase));
		}
	}
Publishes the {@link JaasAuthenticationFailedEvent}. Can be overridden by
subclasses for different functionality

@param token The authentication token being processed
@param ase The excetion that caused the authentication failure