Class AntPatternBasedAuthenticationEntryPointChain
- java.lang.Object
-
- org.opennms.web.springframework.security.AntPatternBasedAuthenticationEntryPointChain
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
,org.springframework.security.web.AuthenticationEntryPoint
public class AntPatternBasedAuthenticationEntryPointChain extends java.lang.Object implements org.springframework.security.web.AuthenticationEntryPoint, org.springframework.beans.factory.InitializingBean
PatternBasedAuthenticationEntryPointWrapper
-
-
Constructor Summary
Constructors Constructor Description AntPatternBasedAuthenticationEntryPointChain()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
afterPropertiesSetvoid
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)
setMatchingEntryPointvoid
setNonMatchingEntryPoint(org.springframework.security.web.AuthenticationEntryPoint unmatchedEntryPoint)
setNonMatchingEntryPointvoid
setPatterns(java.util.List<java.lang.String> patterns)
setPatterns
-
-
-
Method Detail
-
setPatterns
public void setPatterns(java.util.List<java.lang.String> patterns)
setPatterns
- Parameters:
patterns
- the patterns to set
-
setMatchingEntryPoint
public void setMatchingEntryPoint(org.springframework.security.web.AuthenticationEntryPoint matchedEntryPoint)
setMatchingEntryPoint
- Parameters:
matchedEntryPoint
- the matchedEntryPoint to set
-
setNonMatchingEntryPoint
public void setNonMatchingEntryPoint(org.springframework.security.web.AuthenticationEntryPoint unmatchedEntryPoint)
setNonMatchingEntryPoint
- Parameters:
unmatchedEntryPoint
- the unmatchedEntryPoint to set
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
- if any.
-
commence
public void commence(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException) throws java.io.IOException, javax.servlet.ServletException
- Specified by:
commence
in interfaceorg.springframework.security.web.AuthenticationEntryPoint
- Throws:
java.io.IOException
javax.servlet.ServletException
-
-