Package io.tesler.core.util.session
Class CustomBasicAuthenticationEntryPoint
- java.lang.Object
-
- org.springframework.security.web.authentication.www.BasicAuthenticationEntryPoint
-
- io.tesler.core.util.session.CustomBasicAuthenticationEntryPoint
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
,org.springframework.security.web.AuthenticationEntryPoint
public class CustomBasicAuthenticationEntryPoint extends org.springframework.security.web.authentication.www.BasicAuthenticationEntryPoint
-
-
Constructor Summary
Constructors Constructor Description CustomBasicAuthenticationEntryPoint(String realmName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
commence(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException)
-
-
-
Constructor Detail
-
CustomBasicAuthenticationEntryPoint
public CustomBasicAuthenticationEntryPoint(String realmName)
-
-
Method Detail
-
commence
public void commence(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException) throws IOException
- Specified by:
commence
in interfaceorg.springframework.security.web.AuthenticationEntryPoint
- Overrides:
commence
in classorg.springframework.security.web.authentication.www.BasicAuthenticationEntryPoint
- Throws:
IOException
-
-