Class BasicAuthenticationEntryPoint
java.lang.Object
com.codename1.backend.security.BasicAuthenticationEntryPoint
- All Implemented Interfaces:
AuthenticationEntryPoint
Answers 401 with the challenge that makes a client send HTTP Basic
credentials:
WWW-Authenticate: Basic realm="Realm".-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncommence(HttpServer.Request request, AuthenticationException authException) The answer.voidsetRealmName(String realmName)
-
Constructor Details
-
BasicAuthenticationEntryPoint
public BasicAuthenticationEntryPoint()
-
-
Method Details
-
getRealmName
-
setRealmName
-
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
-