// Path: src/main/java/ch/rasc/eds/starter/util/JPAQueryFactory.java
// public class JPAQueryFactory extends com.querydsl.jpa.impl.JPAQueryFactory {
// 
// 	private final EntityManager entityManager;
// 
// 	public JPAQueryFactory(EntityManager entityManager) {
// 		super(entityManager);
// 		this.entityManager = entityManager;
// 	}
// 
// 	public EntityManager getEntityManager() {
// 		return this.entityManager;
// 	}
// 
// }


import org.springframework.context.ApplicationListener;
import org.springframework.security.authentication.event.InteractiveAuthenticationSuccessEvent;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import ch.rasc.eds.starter.entity.QUser;
import ch.rasc.eds.starter.util.JPAQueryFactory;
package ch.rasc.eds.starter.config.security;



@Component
public class UserAuthSuccessfulHandler
		implements ApplicationListener<InteractiveAuthenticationSuccessEvent> {

// Path: src/main/java/ch/rasc/eds/starter/util/JPAQueryFactory.java
// public class JPAQueryFactory extends com.querydsl.jpa.impl.JPAQueryFactory {
// 
// 	private final EntityManager entityManager;
// 
// 	public JPAQueryFactory(EntityManager entityManager) {
// 		super(entityManager);
// 		this.entityManager = entityManager;
// 	}
// 
// 	public EntityManager getEntityManager() {
// 		return this.entityManager;
// 	}
// 
// }


// Path: src/main/java/ch/rasc/eds/starter/config/security/UserAuthSuccessfulHandler.java
import org.springframework.context.ApplicationListener;
import org.springframework.security.authentication.event.InteractiveAuthenticationSuccessEvent;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import ch.rasc.eds.starter.entity.QUser;
import ch.rasc.eds.starter.util.JPAQueryFactory;

package ch.rasc.eds.starter.config.security;



@Component
public class UserAuthSuccessfulHandler
		implements ApplicationListener<InteractiveAuthenticationSuccessEvent> {

	private final JPAQueryFactory jpaQueryFactory;