Example usage for org.springframework.security.authentication.jaas.event JaasAuthenticationSuccessEvent JaasAuthenticationSuccessEvent

List of usage examples for org.springframework.security.authentication.jaas.event JaasAuthenticationSuccessEvent JaasAuthenticationSuccessEvent

Introduction

In this page you can find the example usage for org.springframework.security.authentication.jaas.event JaasAuthenticationSuccessEvent JaasAuthenticationSuccessEvent.

Prototype

public JaasAuthenticationSuccessEvent(Authentication auth) 

Source Link

Usage

From source file:org.springframework.security.authentication.jaas.AbstractJaasAuthenticationProvider.java

/**
 * Publishes the {@link JaasAuthenticationSuccessEvent}. Can be overridden by
 * subclasses for different functionality.
 *
 * @param token The token being processed
 *//*w ww . ja v  a 2s  . c o m*/
protected void publishSuccessEvent(UsernamePasswordAuthenticationToken token) {
    if (this.applicationEventPublisher != null) {
        this.applicationEventPublisher.publishEvent(new JaasAuthenticationSuccessEvent(token));
    }
}