Allow logging in at /login

Prior to this change, login was only /login/ and logout was only
/logout. We don't need to serve /logout/ necessarily, but we should
serve /login for at least some consistency.

Change-Id: I3f1b7e84f20187548cd9cf905cc2631350f7cc1a
This commit is contained in:
Dave Borowitz 2013-03-28 13:56:49 -04:00
parent 63befc1cc8
commit a9e42e15d2
5 changed files with 5 additions and 5 deletions

View File

@ -19,6 +19,6 @@ import com.google.inject.servlet.ServletModule;
public class BecomeAnyAccountModule extends ServletModule {
@Override
protected void configureServlets() {
serve("/login/*").with(BecomeAnyAccountLoginServlet.class);
serve("/login", "/login/*").with(BecomeAnyAccountLoginServlet.class);
}
}

View File

@ -21,6 +21,6 @@ public class HttpAuthModule extends ServletModule {
@Override
protected void configureServlets() {
filter("/").through(HttpAuthFilter.class);
serve("/login/*").with(HttpLoginServlet.class);
serve("/login", "/login/*").with(HttpLoginServlet.class);
}
}

View File

@ -21,6 +21,6 @@ public class HttpsClientSslCertModule extends ServletModule {
@Override
protected void configureServlets() {
filter("/").through(HttpsClientSslCertAuthFilter.class);
serve("/login/*").with(HttpsClientSslCertLoginServlet.class);
serve("/login", "/login/*").with(HttpsClientSslCertLoginServlet.class);
}
}

View File

@ -20,6 +20,6 @@ import com.google.inject.servlet.ServletModule;
public class LdapAuthModule extends ServletModule {
@Override
protected void configureServlets() {
serve("/login/*").with(LdapLoginServlet.class);
serve("/login", "/login/*").with(LdapLoginServlet.class);
}
}

View File

@ -20,7 +20,7 @@ import com.google.inject.servlet.ServletModule;
public class OpenIdModule extends ServletModule {
@Override
protected void configureServlets() {
serve("/login/*").with(LoginForm.class);
serve("/login", "/login/*").with(LoginForm.class);
serve("/" + OpenIdServiceImpl.RETURN_URL).with(OpenIdLoginServlet.class);
serve("/" + XrdsServlet.LOCATION).with(XrdsServlet.class);
filter("/").through(XrdsFilter.class);