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:
parent
63befc1cc8
commit
a9e42e15d2
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user