Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public final class LoginUrlAuthenticationEntryPoint
- Object
- LoginUrlAuthenticationEntryPoint
ImplementsAuthenticationEntryPoint
Sends a request that has to sign in to the login page, with a 302.
Constructors
public LoginUrlAuthenticationEntryPoint(String loginFormUrl) |
Methods
public String getLoginFormUrl() | |
public HttpServer.Response commence(HttpServer.Request request, AuthenticationException authException) | The answer. |
Inherited methods
Constructor details
LoginUrlAuthenticationEntryPoint
public LoginUrlAuthenticationEntryPoint(String loginFormUrl)Parameters
loginFormUrlString- the path of the login page, starting with /
Method details
getLoginFormUrl
public String getLoginFormUrl()commence
public HttpServer.Response commence(HttpServer.Request request, AuthenticationException authException)The answer.
Parameters
requestHttpServer.Request- Not documented.
authExceptionAuthenticationException- why the request was not let through