// Path: src/main/java/org/vaadin/spring/sample/security/service/DummyService.java
// public interface DummyService {
// 	
// 	public String heyDummy(String text);
// 
// }
// 
// Path: src/main/java/org/vaadin/spring/sample/security/ui/ViewToken.java
// public interface ViewToken extends Serializable {
// 	
// 	public static final String HOME="";
// 	public static final String USER="/user";	
// 	public static final String ADMIN="/admin";
// 	public static final String ADMIN_HIDDEN="/hidden";
// 	public static final String SIGNIN="/signin";
// 	public static final String SIGNUP="/signup";
// 	
// 	public static final List<String> VALID_TOKENS = Arrays.asList(new String[] {HOME, USER, ADMIN, ADMIN_HIDDEN, SIGNIN, SIGNUP});		
// 
// }


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.Authentication;
import org.vaadin.spring.UIScope;
import org.vaadin.spring.events.EventBus;
import org.vaadin.spring.mvp.MvpHasPresenterHandlers;
import org.vaadin.spring.mvp.MvpView;
import org.vaadin.spring.mvp.presenter.AbstractMvpPresenterView;
import org.vaadin.spring.navigator.VaadinView;
import org.vaadin.spring.sample.security.service.DummyService;
import org.vaadin.spring.sample.security.ui.ViewToken;
import org.vaadin.spring.security.Security;
import com.vaadin.navigator.ViewChangeListener.ViewChangeEvent;
package org.vaadin.spring.sample.security.ui.home;



@SuppressWarnings("serial")
@UIScope
@VaadinView(name=ViewToken.HOME)
public class HomePresenter extends AbstractMvpPresenterView<HomePresenter.HomeView> implements HomePresenterHandlers {
	
	public interface HomeView extends MvpView, MvpHasPresenterHandlers<HomePresenterHandlers> {
		public void initView(String userName, String loginType);		
	}		
	
	@Autowired
	Security security;
	
	@Autowired
// Path: src/main/java/org/vaadin/spring/sample/security/service/DummyService.java
// public interface DummyService {
// 	
// 	public String heyDummy(String text);
// 
// }
// 
// Path: src/main/java/org/vaadin/spring/sample/security/ui/ViewToken.java
// public interface ViewToken extends Serializable {
// 	
// 	public static final String HOME="";
// 	public static final String USER="/user";	
// 	public static final String ADMIN="/admin";
// 	public static final String ADMIN_HIDDEN="/hidden";
// 	public static final String SIGNIN="/signin";
// 	public static final String SIGNUP="/signup";
// 	
// 	public static final List<String> VALID_TOKENS = Arrays.asList(new String[] {HOME, USER, ADMIN, ADMIN_HIDDEN, SIGNIN, SIGNUP});		
// 
// }


// Path: src/main/java/org/vaadin/spring/sample/security/ui/home/HomePresenter.java
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.Authentication;
import org.vaadin.spring.UIScope;
import org.vaadin.spring.events.EventBus;
import org.vaadin.spring.mvp.MvpHasPresenterHandlers;
import org.vaadin.spring.mvp.MvpView;
import org.vaadin.spring.mvp.presenter.AbstractMvpPresenterView;
import org.vaadin.spring.navigator.VaadinView;
import org.vaadin.spring.sample.security.service.DummyService;
import org.vaadin.spring.sample.security.ui.ViewToken;
import org.vaadin.spring.security.Security;
import com.vaadin.navigator.ViewChangeListener.ViewChangeEvent;

package org.vaadin.spring.sample.security.ui.home;



@SuppressWarnings("serial")
@UIScope
@VaadinView(name=ViewToken.HOME)
public class HomePresenter extends AbstractMvpPresenterView<HomePresenter.HomeView> implements HomePresenterHandlers {
	
	public interface HomeView extends MvpView, MvpHasPresenterHandlers<HomePresenterHandlers> {
		public void initView(String userName, String loginType);		
	}		
	
	@Autowired
	Security security;
	
	@Autowired
	DummyService dummyService;