
com.stormpath.sdk.servlet.mvc.DisabledWebHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stormpath-sdk-servlet Show documentation
Show all versions of stormpath-sdk-servlet Show documentation
Servlet-specific additions allowing one to more easily deploy the Stormpath SDK in a servlet-container-based
web application.
The newest version!
package com.stormpath.sdk.servlet.mvc;
import com.stormpath.sdk.account.Account;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Default noop WebHandler use for pre/post login/register handlers
*
* @since 1.0.0
*/
public class DisabledWebHandler implements WebHandler {
@Override
public boolean handle(HttpServletRequest request, HttpServletResponse response, Account account) {
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy