core/src/main/java/org/springframework/security/authentication/jaas/JaasAuthenticationProvider.java
@Override
	protected void publishFailureEvent(UsernamePasswordAuthenticationToken token,
			AuthenticationException ase) {
		// exists for passivity (the superclass does a null check before publishing)
		getApplicationEventPublisher()
				.publishEvent(new JaasAuthenticationFailedEvent(token, ase));
	}
@Override
	protected void publishFailureEvent(UsernamePasswordAuthenticationToken token,
			AuthenticationException ase) {
		// exists for passivity (the superclass does a null check before publishing)
		getApplicationEventPublisher()
				.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