Class LoginUrlAuthenticationEntryPoint
java.lang.Object
com.codename1.backend.security.LoginUrlAuthenticationEntryPoint
- All Implemented Interfaces:
AuthenticationEntryPoint
public final class LoginUrlAuthenticationEntryPoint
extends Object
implements AuthenticationEntryPoint
Sends a request that has to sign in to the login page, with a 302.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncommence(HttpServer.Request request, AuthenticationException authException) The answer.
-
Constructor Details
-
LoginUrlAuthenticationEntryPoint
- Parameters:
loginFormUrl- the path of the login page, starting with /
-
-
Method Details
-
getLoginFormUrl
-
commence
public HttpServer.Response commence(HttpServer.Request request, AuthenticationException authException) Description copied from interface:AuthenticationEntryPointThe answer.- Specified by:
commencein interfaceAuthenticationEntryPoint- Parameters:
authException- why the request was not let through
-