Package org.zeroexchange.user.event

Examples of org.zeroexchange.user.event.UserLogged


     */
    @Override
    public void onApplicationEvent(AuthenticationSuccessEvent event) {
        try {
            ZEUserDetails details = (ZEUserDetails) event.getAuthentication().getPrincipal();
            UserLogged userLoggedEvent = new UserLogged(details.getUser());
            eventsDispatcher.publishEvent(userLoggedEvent);
        } catch (Exception e) {
            log.error("Cannot publish UserLogged event", e);
        }
    }
View Full Code Here

TOP

Related Classes of org.zeroexchange.user.event.UserLogged

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.