public class CommunoteBasicAuthenticationEntryPoint
extends org.springframework.security.web.authentication.www.BasicAuthenticationEntryPoint
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_NO_AUTHENTICATION_CHALLENGE_REQUEST_PARAM
Default name for the request parameter that when set to "true" will lead to not sending a
basic authentication challenge.
|
| Constructor and Description |
|---|
CommunoteBasicAuthenticationEntryPoint() |
| Modifier and Type | Method and Description |
|---|---|
void |
commence(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.AuthenticationException authException) |
void |
setNoChallangeParameter(String paramName)
Set the name of the request parameter that when set to "true" will lead to not sending a
basic authentication challenge.
|
public static final String DEFAULT_NO_AUTHENTICATION_CHALLENGE_REQUEST_PARAM
public CommunoteBasicAuthenticationEntryPoint()
public void commence(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.AuthenticationException authException)
throws IOException,
javax.servlet.ServletException
commence in interface org.springframework.security.web.AuthenticationEntryPointcommence in class org.springframework.security.web.authentication.www.BasicAuthenticationEntryPointIOExceptionjavax.servlet.ServletExceptionpublic void setNoChallangeParameter(String paramName)
paramName - the name of the parameterCopyright © 2019 Communote team. All rights reserved.