Example usage for org.springframework.security.authentication.event InteractiveAuthenticationSuccessEvent getSource

List of usage examples for org.springframework.security.authentication.event InteractiveAuthenticationSuccessEvent getSource

Introduction

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

Prototype

public Object getSource() 

Source Link

Document

The object on which the Event initially occurred.

Usage

From source file:org.smigo.user.authentication.AuthenticationSuccessListener.java

@Override
public void onApplicationEvent(InteractiveAuthenticationSuccessEvent event) {
    log.info("Login successful, event:" + event + ", token:" + event.getSource().getClass().getSimpleName());
}