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 ExceptionThe answer.

Method details

commence

public abstract HttpServer.Response commence(HttpServer.Request request, AuthenticationException authException) throws Exception
The answer.

Parameters

request HttpServer.Request
Not documented.
authException AuthenticationException
why the request was not let through

Throws

Exception