Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public interface AuthenticationEntryPoint
Known subtypesBasicAuthenticationEntryPoint, Http403ForbiddenEntryPoint, HttpStatusEntryPoint, LoginUrlAuthenticationEntryPoint, BearerTokenAuthenticationEntryPoint
Answers a request that has to authenticate first: with a challenge, or a
redirect to where the user signs in.
Methods
public abstract HttpServer.Response commence(HttpServer.Request request, AuthenticationException authException)
throws Exception | The answer. |
Method details
commence
public abstract HttpServer.Response commence(HttpServer.Request request, AuthenticationException authException)
throws ExceptionThe answer.
Parameters
requestHttpServer.Request- Not documented.
authExceptionAuthenticationException- why the request was not let through