public class RestfulBasicAuthenticationEntryPoint extends Object implements org.springframework.security.web.AuthenticationEntryPoint, org.springframework.beans.factory.InitializingBean
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_REALM_NAME |
| Constructor and Description |
|---|
RestfulBasicAuthenticationEntryPoint() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
commence(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.AuthenticationException authException) |
void |
setExceptionHandler(cn.home1.oss.lib.errorhandle.internal.RestfulExceptionHandler exceptionHandler) |
void |
setRealmName(String realmName) |
public static final String DEFAULT_REALM_NAME
public RestfulBasicAuthenticationEntryPoint()
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.AuthenticationEntryPointIOExceptionjavax.servlet.ServletExceptionpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void setRealmName(String realmName)
public void setExceptionHandler(cn.home1.oss.lib.errorhandle.internal.RestfulExceptionHandler exceptionHandler)
Copyright © 2017. All rights reserved.