Class SimpleUrlAuthenticationFailureHandler
java.lang.Object
com.codename1.backend.security.SimpleUrlAuthenticationFailureHandler
- All Implemented Interfaces:
AuthenticationFailureHandler
public final class SimpleUrlAuthenticationFailureHandler
extends Object
implements AuthenticationFailureHandler
After a refused sign-in, sends the user to a page -- the login page with
?error, usually -- or, with no page set, answers 401.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiononAuthenticationFailure(HttpServer.Request request, AuthenticationException exception)
-
Constructor Details
-
SimpleUrlAuthenticationFailureHandler
public SimpleUrlAuthenticationFailureHandler() -
SimpleUrlAuthenticationFailureHandler
-
-
Method Details
-
onAuthenticationFailure
public HttpServer.Response onAuthenticationFailure(HttpServer.Request request, AuthenticationException exception) - Specified by:
onAuthenticationFailurein interfaceAuthenticationFailureHandler
-