1112131415161718192021
public class Global extends GlobalSettings { @Override public void onStart(final Application app) { PlayAuthenticate.setResolver(new Resolver() { @Override public Call login() { // Your login page return controllers.routes.Application.login();
1011121314151617181920
import controllers.routes; public class Global extends GlobalSettings { public void onStart(final Application app) { PlayAuthenticate.setResolver(new Resolver() { @Override public Call login() { // Your login page return routes.Application.index();
1415161718192021222324
import play.mvc.Call; public class Global extends GlobalSettings { public void onStart(Application app) { PlayAuthenticate.setResolver(new Resolver() { @Override public Call login() { // Your login page return routes.Application.login();