public class AntPatternBasedAuthenticationEntryPointChain extends Object implements org.springframework.security.web.AuthenticationEntryPoint, org.springframework.beans.factory.InitializingBean
| Constructor and Description |
|---|
AntPatternBasedAuthenticationEntryPointChain() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
afterPropertiesSet
|
void |
commence(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.AuthenticationException authException) |
void |
setMatchingEntryPoint(org.springframework.security.web.AuthenticationEntryPoint matchedEntryPoint)
setMatchingEntryPoint
|
void |
setNonMatchingEntryPoint(org.springframework.security.web.AuthenticationEntryPoint unmatchedEntryPoint)
setNonMatchingEntryPoint
|
void |
setPatterns(List<String> patterns)
setPatterns
|
public AntPatternBasedAuthenticationEntryPointChain()
public void setPatterns(List<String> patterns)
setPatterns
patterns - the patterns to setpublic void setMatchingEntryPoint(org.springframework.security.web.AuthenticationEntryPoint matchedEntryPoint)
setMatchingEntryPoint
matchedEntryPoint - the matchedEntryPoint to setpublic void setNonMatchingEntryPoint(org.springframework.security.web.AuthenticationEntryPoint unmatchedEntryPoint)
setNonMatchingEntryPoint
unmatchedEntryPoint - the unmatchedEntryPoint to setpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanException - if any.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.ServletExceptionCopyright © 2022. All rights reserved.