// Path: src/main/java/com/yyqian/imagine/service/SecurityService.java
// public interface SecurityService {
// 
//   String getUsername();
// 
//   String getAuthorities();
// 
//   User getUser();
// 
//   boolean isLoggedIn();
// 
// }


import com.yyqian.imagine.service.SecurityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.ui.Model;
package com.yyqian.imagine.utility;


/**
 * Created on 10/10/2016.
 *
 * @author Yinyin Qian
 */
@Component
public class ControllerUtil {
  @Autowired
// Path: src/main/java/com/yyqian/imagine/service/SecurityService.java
// public interface SecurityService {
// 
//   String getUsername();
// 
//   String getAuthorities();
// 
//   User getUser();
// 
//   boolean isLoggedIn();
// 
// }


// Path: src/main/java/com/yyqian/imagine/utility/ControllerUtil.java
import com.yyqian.imagine.service.SecurityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.ui.Model;

package com.yyqian.imagine.utility;


/**
 * Created on 10/10/2016.
 *
 * @author Yinyin Qian
 */
@Component
public class ControllerUtil {
  @Autowired
  private SecurityService securityService;