Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

public final class LoginUrlAuthenticationEntryPoint

  1. Object
  2. 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

loginFormUrl String
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

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